Rating system for Symfony2