Add merge rules.