Split obtain_rating and display_rating into separate rules
Test API call... print data to html