docco + groc tests for rules