add testcase for rule result