remove uneeded CSS rules