Adding source formatting rules