some more work on the rules