A top Republican donor and critic of Gov. Nikki Haley is asking a court to declare whether she broke ethics laws while a member of the South Carolina House.