Avoid merging rule with itself