Herbert Smith wins key role on Rio Tinto deal