fixed issue with merge in tableRules