Added rating functionality to the online store application

Final newline missing.