Added rating functionality to the online store application

Use 2 (not 4) spaces for indentation.