You hit the nail on the head. That is why they recently introduced the MSPE and no longer call it a "Dean's Letter". Here is a link to the template that the AAMC has asked all schools to adopt:
http://www.aamc.org/students/eras/resources/downloads/mspeguide.pdf
As for a "rating scale", see appendices A through B at the bottom of that document, which rank students relative to their class in four different areas.
Each school uses a summative assessment, in narrative format, of the students comparative performance, relative to his/her peers, in medical school, including information about any school-specific categories used in differentiating among levels of student performance - similar to Yaah's post above. Here is what is used at Penn as another example (I don't go there I just googled "medical mspe"):
* Superior 5%
* Outstanding 25%
* Excellent 50%
* Very Good 20%
http://www.hmc.psu.edu/md/students/mspe.html