Merges the given rules into one ruleset.

A new XmlRules map with the merged rules.