Setting the rating.