consolidating CSS and stripping un-needed rules