Fixes css rule ordering