rules and docs on rules