Optional
handlerOptional
nameOptional
retrieveOptional
structureSet the function which handles the rule. The function is passed the structure data that this rule is for.
A function that handles the rule.
Set the function which retrieves the data for the structure.
The function that retrieves the data for the structure.
Set the type of structure this rule is for. Pass the class of the structure type.
The type of structure this rule is for.
Apply the rule to the structure type.