The Effect of Rating Agencies on Herd Behaviour