add new rules for maxSets