Cleaned up mergeRuleset code in houston.js.