creating a persistable rating object