validation fro rating