add test case
merge rules