move opacity rules to opacity section