The former global chief executive officer of Herbert Smith Freehills, Mark Rigotti, is leaving the firm after 26 years to lead an Australian business group.