A simple stateless production rules engine for PHP 5.3+