Added RatingGenerator structure