Add rules and basic styles