Former Spanish Football Association president Luis Rubiales is banned from all football-related activities for three years.