Add merge rules