Instantiate a Condition of type kind and pass it into the optional block. Attributes of the condition must be set in the config file
[Validate]