Implemented Ratings in RP and implemented avg ratings in resource search.