Automatically generate OptionalField rules for every optionalField in the item