Merging rules where applicable