Added support for the rating parameter