Added directive for rating.