ERM in the Rating Process