Initial version of RuleTester
Still a bit buggy