Add AbstractProduct rating calculate function

Sometime in extended Product class we need expand rating calculation logic