add a rating directive