Implements the Rating Model