finished typing the rules