new syntax for groups of constraints with addConstraint