A collection of previous inferred rules is given, and a DataProperty object which represents the property for which the value is transformed. You can read more about the internal structures of the package here.
The RulesCollection contains all the rules for the property represented as ValidationRule objects.
You can add new rules to it:
$rules->add(newMin(42));
When adding a rule of the same kind, a previous version of the rule will be removed: