Adding formatting rules.