Method to build rich input validation rules to address values not
previously validated by type based rules or regular expressions available
in current validation engines. These new validation rules have a rich set
of ordered validation rule primitives (VRPs) with acceptance VRP or
rejection VRP, thus the new validation rules have capabilities to handle
complex data values. Also disclosed is method to build a validation rule
applied to data elements defined using a Perl regular expression.