Rule engine for Symfony 2