Merge two rules