added tests for the rules parser and evaluator