refactor: rewrite createRule
and RuleTester
#72
+344
−387
Loading
createRule
and RuleTester
#72