add formatting rules