Correct parameter order for array_merge_recursive

Recursively merge new rules into existing rules in the mergeRules() function rather than merging existing into new, this will keep the key (attribute names) ordered as they are the the default rules