added tests for rule_list