How to set multiple entity references as default values using the hook_form_alter()
You can use Fivestar and Voting API for rating the product 

The Fivestar voting module adds a clean, attractive voting widget to nodes and comments and any entity