add boolean toggle for merging common rules