text:  But it was the appearance of Nikki Haley, the former South Carolina governor who served as United Nations ambassador during his first term and who became his chief rival this year, who may have been the biggest surprise, especially considering her harsh criticisms.