Save the group objects of the training rate rules so they display on website.

Also save the products of rate rules as empty lists instead of None
to not mess up website.