This rule determines if the returned value is in a given array, and returns the appropriate message. It can limit the returned values to those contained in the subset, or it can reject values in the subset using exclude().
If $exclusion is set to false (default), this returns false when the element's value is in the passed subset. Otherwise, if $exclusion is set to true, false is returned if the value is not in the array.