Feature/163 rating for purchased items

Rating functional added.
This code executed after purchase.