Added sm-rating directive