This Horde package provides a programmatic way of building constraints that evaluate to true or false. WWW: http://pear.horde.org