a defense of ultra vires, and it cannot be raised for the first time on appeal. Meholin v. Carlson, 17 Idaho 742, 743, 107 P. 755, 756 (1910) ("The question of ultra vires must be pleaded, and cannot for the first time be raised in the appellate court."). Even if AIA had pleaded a defense of ultra vires, which it did not, the defense would not be successful here. The 1995 Letter Agreement was entered into in good faith by competent parties, and AIA received the benefit of the agreement in that it allowed AIA the opportunity to reorganize. AIA cannot now assert ultra vires to "escape the consequences of this contract[.]" See Power Cty., 43 Idaho at 168, 252 P. at 184. Because the 1995 Letter Agreement was an ultra vires act, rather than an illegal act, the 1995 Letter Agreement is enforceable. I.C. § 30-1-7 ("No act of a corporation and no conveyance or transfer of real or personal property to or by a corporation shall be invalid by reason of the fact that the corporation was without capacity or power to do such act"). Accordingly, the district court's order that the 1995 Letter Agreement is unenforceable is reversed.
C. The district court erred when it dismissed Donna's fraud claim.
The district court dismissed Donna's claims for fraud, determining the tort claim was barred by the economic loss rule. Donna contends that she is alleging fraud which is an intentional, rather than negligent tort, so her claim is not barred by the economic loss rule. For reasons discussed below, the district court erred in dismissing Donna's fraud claim.
"The economic loss rule is a judicially created doctrine that applies to negligence cases." Path to Health, LLP v. Long, 161 Idaho 50, 56, 383 P.3d 1220, 1226 (2016). "Unless an exception applies, the economic loss rule prohibits recovery of purely economic losses in a negligence action because there is no duty to prevent economic loss to another." Brian & Christie, Inc. v. Leishman Elec., Inc., 150 Idaho 22, 28, 244 P.3d 166, 172 (2010) (quoting Blahd v. Richard B. Smith, Inc., 141 Idaho 296, 300, 108 P.3d 996, 1000 (2005) ). "There are two exceptions to the general rule which prevents a party from recovering purely economic loss in a tort claim; those two exceptions are, (1) where a special relationship exists between the parties, or (2) where unique circumstances require a reallocation of the risk." Aardema v. U.S. Dairy Sys., Inc., 147 Idaho 785, 792, 215 P.3d 505, 512 (2009).
As noted, prior cases have limited application of the economic loss rule to negligence causes of action. See Long, 161 Idaho at 56, 383 P.3d at 1226 ("The economic loss rule ... applies to negligence cases."). "The economic loss rule applies to negligence cases in general; its application is not restricted to products liability cases." Leishman Elec., Inc., 150 Idaho at 26, 244 P.3d at 170 (quoting Ramerth v. Hart, 133 Idaho 194, 197, 983 P.2d 848, 851 (1999) ). This is because "the economic loss rule limits the actor's duty so that there is no cause of action in negligence." Leishman Elec., Inc., 150 Idaho at 28, 244 P.3d at 172. "[A] contrary rule, which would allow compensation for losses of economic advantage caused by the defendant's negligence, would impose too heavy and unpredictable a burden on the defendant's conduct." Just's, Inc. v. Arrington Const. Co., 99 Idaho 462, 470, 583 P.2d 997, 1005 (1978).
In this case, Donna has alleged the defendants committed fraud, which is an intentional tort. See Hegg v. I.R.S., 136 Idaho 61, 62, 28 P.3d 1004, 1005 (2001) ("Fraud is a form of intentional tort."). As discussed, the economic loss rule is applicable in negligence actions, because there is "no duty to prevent economic loss to another." See Leishman Elec., Inc., 150 Idaho at 28, 244 P.3d at 172 (quoting Blahd, 141 Idaho at 300, 108 P.3d at 1000 ). Donna is not pursuing a negligence cause of action; rather, she has alleged the defendants committed the intentional tort of fraud. Thus, the economic loss rule does not bar Donna's cause of action for fraud. Moreover, a claim for fraud will nearly always involve claims for economic loss, and if the economic loss rule operated to bar fraud claims, it would vitiate fraud causes of action. See Miller v. Idaho State Patrol, 150 Idaho 856, 865, 252 P.3d 1274, 1283 (2011) (in defining the relevant legal rule in a qualified immunity case, we stated, "[t]he Court should not define the right too generally, as