While I am not exactly fan of You're Beautiful I don't think ratings have anything to do with the quality.
You're Beautiful is very popular drama even though the ratings at the time weren't so high.
Here's the another example:
Lovers in Paris, while I don't hate it I really don't understand how it is 11th in the highest rated Korean drama list.