Reducing redundant style rules