fixed bug with minimalRules