first crack at rules
more formatting work on rules