Feature/163 rating for purchased items

Rating functional added.
Copied and pasted and not updated?