Add merge rulesets helper method