added rating attribute to food class