merge rules