switch CSS rules