(finally?) done editing rules document