candidate: Eventually the rioters were controlled , Chinese miners had their claims restored to them , but the New South Wales Parliament passed the Chinese Immigration Bill which restricted the number of Chinese that could be brought into New South Wales on any ship and imposed a tax per head on entry .