getrating class