A PHP library for creating and testing a set of rules