modify rating instance rather than the constant class on serialize (bug 963217)