Refactor Mage_Rating_Model_Resource_Rating_Collection

Fix for issue #292