Incorporating rules and going to next page