delivered the Opinion of the Court.
We issued a writ of certiorari to review the court of appeals' judgment in Town of Alma v. AZCO Constr., Inc.,
I. FACTS AND PROCEDURAL HISTORY
Petitioners' amended complaint alleged the following facts.
In 19983, AZCO installed 115 flared fittings for the water service line connections. In June 1995, Petitioners discovered leaks in three water service line connections that AZCO installed pursuant to the contract. AZCO repaired those three leaks under the one-year warranty provision of the contract. In November 1995 and June 1996, additional leaks in water service line connections were discovered but AZCO refused to repair these leaks on the basis that the one-year warranty provision had expired. The leaks were repaired at the expense of individual town residents.
Petitioners filed suit against AZCO on November 27, 1996, asserting claims for breach of contract, breach of the implied warranty of sound workmanship, negligence per se, and negligence. Two more leaks were discovered in June 1997, after Petitioners had filed their original complaint against AZCO, and AZCO again refused to repair the leaks. Petitioners subsequently filed an amended complaint seeking damages for the cost to repair or replace every water service line connection installed or repaired by AZCO.
Petitioners voluntarily dismissed their negligence per se claim and AZCO moved to dismiss the breach of implied warranty of sound workmanship and negligence claims. The trial court granted AZCO's motion to dismiss these claims and the case proceeded to trial on the breach of contract claim only, with the jury returning a verdict for AZCO on this claim. AZCO moved unsuccessfully for an award of attorney's fees based on a provision of the contract providing that the successful party in any litigation shall be entitled to reasonable legal expenses as part of any judgment.
Petitioners appealed the trial court's dismissal of its breach of implied warranty of sound workmanship and negligence claims, and AZCO ecross-appealed the trial court's order denying its request for attorney's fees. The court of appeals affirmed the trial court's dismissal of Petitioners' claims, but reversed the trial court's order denying AZCO's motion for attorney's fees and remanded for a hearing on the attorney's fees. In affirming the dismissal of Petitioners' negligence claim, the court of appeals relied on the economic loss rule and stated that "[tlo
We granted certiorari to review the dismissal of Petitioners' negligence claim and the reversal of the order denying attorney's fees.
II. ANALYSIS
This case, along with Grynberg v. Agri Tech, Inc.,
A. Standard of Review
We are reviewing the trial court's grant of AZCO's motion to dismiss Petitioners' negligence claim pursuant to C.R.C.P. 12(b)(5)
B. Origins of the Economic Loss Rule
Broadly speaking, the economic loss rule is intended to maintain the boundary between contract law and tort law. Although these two areas of law traditionally occupy discrete spheres of legal practice, the distinction between the two blurs. This becomes problematic when, as in this case, a commercial buyer seeks to use a tort theory to recover damages for a defective product.
The economic loss rule emerged largely from the development of products lability jurisprudence. As courts abandoned the requirement for privity in contract, the doe-trine of strict liability in warranty developed with the leading case of Henningsen v. Bloomfield Motors, Inc.,
In response to the difficulties of attempting to apply contract rules to products liability cases in the absence of a contract, courts moved away from the implied warranty theory of recovery and adopted a strict liability in tort theory. A tort theory based on the dangerousness of conduct was considered more appropriate and more adaptable than a contract theory because the policy reasons courts were supplying to justify the imposition of strict lability go far beyond any conventional contract notions. See id. at 692. The California Supreme Court led the way with its decision in Greenman v. Yuba Power Products, Inc.,
As courts made the shift to employing tort law for these products liability cases, a need developed to prevent tort law from "swallowing" the law of contracts. After paving the road to allow tort theories to proceed in products liability cases, the California Supreme Court, in Seely v. White Motor Co.,
The distinction that the law has drawn between tort recovery for physical injuries and warranty recovery for economic loss is not arbitrary and does not rest on the "luck" of one plaintiff in having an accident causing physical injury. The distinction rests, rather, on an understanding of the nature of the responsibility a manufacturer must undertake in distributing his products. He can appropriately be held liable for physical injuries caused by defects by requiring his goods to match a standard of safety in terms of conditions that create unreasonable risks of harm. He cannot be held liable for the level of performance of his products in the consumer's business unless he agrees that the product was designed to meet the consumer's demands. A consumer should not be charged at the will of the manufacturer with bearing the risk of physical injury when he buys a product on the market. He can, however, be fairly charged with the risk that the product will not match his economic expectations unless the manufacturer agrees that it will. Even in actions for negligence, a momufacturer's hability is limited to damages for physical injuries and there is mo recovery for economic loss alone.
Seely,
We adopted section 402A's strict liability in tort theory in Hiigel v. General Motors
Subsequent to the Seely decision, many jurisdictions adopted a form of the economic loss rule. The United States Supreme Court adopted a version of the rule in East River Steamship Corp. v. Transamerica Delaval, Inc.,
When a product injures only itself the reasons for imposing a tort duty are weak and those for leaving the party to its contractual remedies are strong.... Losses like these can be insured [through warranties]. ... The increased cost to the public that would result from holding a manufacturer liable in tort for injury to the product itself is not justified.
Id. at 871-72,
Contract law, and the law of warranty in particular, is well suited to commercial controversies of the sort involved in this case because the parties may set the terms of their own agreements. The manufacturer can restrict its liability, within limits, by disclaiming warranties or limiting remedies. In exchange, the purchaser pays less for the product. Since a coramercial situation generally does not involve large disparities in bargaining power, we see no reason to intrude into the parties' allocation of the risk.
Id. at 872-73,
Our court of appeals first adopted the economic loss rule in Jardel Enterprises, Inc. v. Triconsultants, Inc.,
As a general rule, no cause of action lies in tort when purely economic damage is caused by negligent breach of a contractual duty. This economic loss rule prevents recovery for negligence when the duty breached is a contractual duty and the harm incurred is the result of failure of the purpose of the contract.
Id. at 1303. A number of courts of appeals cases have applied the economic loss rule in varying contexts since the decision in Jardel. See, e.g., Town of Alma,
C. Rationale Underlying the Economic Loss Rule
Although originally born from products liability law, the application of the economic loss rule is broader, because it serves to maintain a distinction between contract and tort law. The essential difference between a tort obligation and a contract obligation is the source of the duties of the parties.
Tort obligations generally arise from duties imposed by law. Tort law is designed to protect all citizens from the risk of physical harm to their persons or to their property. These duties are imposed by law without regard to any agreement or contract.
In contrast, contract obligations arise from promises made between parties. Contract law is intended to enforce the expectancy interests created by the parties' promises so that they can allocate risks and costs during their bargaining. Limiting tort liability when a contract exists between parties is appropriate because a product's potential nonperformance can be adequately addressed by rational economic actors bargaining at arms length to shape the terms of the contract. For example, a buyer may demand additional warranties on a product while agreeing to pay a higher price, or the same buyer may choose to assume a higher level of risk that a product will not perform properly by accepting a more limited warranty in exchange for a lower product price. Limiting the availability of tort remedies in these situations holds parties to the terms of their bargain. In this way, the law serves to encourage parties to confidently allocate risks and costs during their bargaining without fear that unanticipated lability may arise in the future, effectively negating the parties' efforts to build these cost considerations into the contract. The economic loss rule thus serves to ensure predictability in commercial transactions.
The key to determining the availability of a contract or tort action lies in determining the source of the duty that forms the basis of the action.
The question, thus, is not whether the damages are physical or economic. Rather the question of whether the plaintiff may maintain an action in tort for purely economic loss turns on the determination of the source of the duty [the] plaintiff claims the defendant owed. A breach of a duty which arises under the provisions of a contract between the parties must be redressed under contract, and a tort action will not lie. A breach of a duty arising independently of any contract duties between the parties, however, may support a tort action.
Tommy L. Griffin Plumbing & Heating Co. v. Jordan, Jones & Goulding, Inc.,
Determining when a contract action will lie and when a tort action will lie requires maintaining this distinction in the sources of the respective obligations. The phrase "economic loss rule"
This confusion can be avoided, however, by maintaining the focus on the source of the duty alleged to have been violated. For example, we have recognized that some special relationships by their nature automatically trigger an independent duty of care that supports a tort action even when the parties have entered into a contractual relationship. See, e.g., Bebo Constr. Co. v. Mattox & O'Brien, P.C.,
D. A Workable Economic Loss Rule: The Focus on Duty
We believe the principles underlying the rule, as discussed above, serve an important role and should be observed and applied in Colorado jurisprudence.
We have previously recognized a court's duty to determine, at the outset of a lawsuit, the type of duty that has allegedly been breached. In Taco Bell v. Lannon we described the court's function as such:
*1264 The question of whether a defendant owes a plaintiff a duty to act to avoid injury is a question of law to be determined by the court. The court determines, as a matter of law, the existence and scope of the duty that is, whether the plaintiff's interest that has been infringed by the conduct of the defendant is entitled to legal protection.
Consistent with this duty analysis, we now expressly adopt the economic loss rule. We hold that a party suffering only economic loss from the breach of an express or implied contractual duty may not assert a tort claim for such a breach absent an independent duty of care under tort law.
E. Application of the Rule
Turning to the facts before us, the contract in the instant case expressly assigned a duty of care to AZCO in the installation of the water system it was this contractual duty that AZCO allegedly breached. The provisions contained within the contract demonstrate that AZCO guaranteed its workmanship when it installed the water system. Section 29.1 of the Contract, titled "GUARANTEE," provided, "[AZCO] shall guarantee all materials and equipment furnished and WORK performed for a period of one (1) year.... [AZCO] warrants and guarantees ... that the completed system is free from all defects due to faulty materials or workmanship." (Emphasis added.) In addition, section 3.8.1 of the "Special Conditions" attached to the contract, titled "MAINTENANCE AND GUARANTY," provided, "[AZCO] hereby guarantees that the entire work constructed by [it] under the contract will fully meet all requirements of the contract as to quality of workmanship and materials...." (Emphasis added.) These contractual provisions demonstrate that AZCO expressly assumed the duty to guarantee its quality of workmanship and its materials when it undertook to install the water system. As such, Petitioners have failed to demonstrate that AZCO breached any duty independent of its contractual obligations.
Moreover, the town and the individual landowners are only seeking damages for the cost of repair and replacement of the water lines that were the subject of the contract.
Petitioners argue that applying the economic loss rule to bar its negligence claim would be inconsistent with our prior cases. Petitioners rely primarily on a trilogy of cases where we allowed a negligence action to proceed despite the existence of a contractual relationship between the parties. Lembke Plumbing and Heating v. Hayutin,
Specifically, in Lembke,
Lembke argued that the contract provided the exclusive remedy its terms indicated that it "lawfully expires one year from date"and therefore the negligence actions were barred. Id. at 337,
In contrast, the contract in this case specifically imposes a duty of care concerning AZCO's skill and workmanship in installing the water system.
In Metropolitan,
Finally, in Cosmopolitan Homes,
Accordingly, as we determine that Petitioners' negligence claim is based solely on the breach of a contractual duty resulting in purely economic loss, and thus is barred by application of the economic loss rule, we conclude that the trial court properly dismissed Petitioners' negligence claim.
F. Attorney's Fees
Petitioners contend that the court of appeals erred in reversing the trial court's order denying attorney's fees to AZCO. Despite the existence of a contractual provision providing that the prevailing party in any litigation shall be entitled to an award of their legal expenses, Petitioners argue that because it never appropriated money for such fees, any award is barred by section 29-1-110, 9 C.R.S. (1999). We disagree.
The contract entered into between Petitioners and AZCO contained the following provision in section 3.26.1 of the "special conditions" of the contract:
If any litigation results from any claims, disputes or other matters in question arising out of or relating to this agreement, or the breach thereof, the successful party in the litigation shall be entitled to reasonable legal expenses as part of any judgment.
Based on this provision, AZCO moved for an award of attorney's fees after prevailing on the breach of contract claim at trial The trial court denied the request on three independent bases. However, only the appropriations issue was raised in the petition for certiorari. The court of appeals reversed the trial court's order, finding that section 24-9-103.6, 7 C.R.S. (1999) barred Petitioners from relying on section 29-1-110 as a defense to an award of attorney's fees.
Section 29-1-110(1) prohibits munie-ipalities from spending money in excess of the amounts appropriated by budget.
In the event that a good faith dispute arises between a public entity and a contractor concerning the contractor's right to receive additional compensation under a remedy-granting provision of the public works contract, it shall not be a defense to a civil action for payment to such claim that no moneys have been appropriated for such claimed amounts, so long as the contractor has complied with all provisions of the contract applicable to the dispute. ... As used in this subsection (4), "remedy-granting provision" means any contract clause which permits additional compensation in the event that a specific contingency or event occurs....
(Emphasis added.)
Petitioners argue that this section does not apply because AZCO's post-trial motion for attorney's fees does not qualify as a "civil action" within the meaning of the statute. A court's primary task in construing a statute is to ascertain and give effect to the intent of the General Assembly. See Van Waters & Rogers, Inc. v. Keelan, 840 P.2d
The general assembly hereby further finds and declares ... that public construction projects are subject to public appropriation laws which may be in direct conflict with commonly used construction contract clauses ... and that there is a substantial statewide interest in ensuring that the policy underlying the efficient expenditure of public moneys is balanced with the policy of fostering a healthy and viable construction industry.
§ 24-91-101(2). In light of the General Assembly's legislative declaration, it is evident that the term "civil action," as used in section 24-91-108.6(4), was not intended to be a restrictive limitation. AZCO moved for an award of attorney's fees under a remedy-granting provision of the contract and complied with all applicable requirements.
III. CONCLUSION
In sum, we hold that the economic loss rule bars Petitioners' negligence claim against AZCO. In addition, we conclude that section 29-1-110 does not prohibit an award of attorney's fees against Petitioners. Therefore, we affirm the judgment of the court of appeals and remand for further proceedings consistent with this opinion.
Notes
. As we are reviewing the dismissal of Petitioners' negligence claim pursuant to C.R.C.P. 12(b)(5), we accept all averments of material fact contained in the complaint as true. See Coors Brewing Co. v. Floyd,
. Town of Alma Ordinance #1986-3 requires resident landowners to maintain water service lines at their own expense.
. We granted certiorari on the following issues:
1. Whether the court of appeals erred in applying the economic loss rule to bar Petitioner's negligence claim.
2. Whether the court of appeals erred in ruling that Petitioners could be liable for attorney's fees despite the lack of appropriation for such fees.
We denied the petition for review of the dismissal of Petitioners' breach of implied warranty of sound workmanship claim.
. The parties disagree over whether the trial court's order constituted a dismissal of the claim pursuant to C.R.C.P. 12(b)(5) or the granting of a summary judgment motion pursuant to C.R.C.P. 56. Our review of the record indicates that AZCO moved for summary judgment on the breach of contract claim, which was denied by the trial court, and for dismissal pursuant to C.R.C.P. 12(b)(5) on the negligence claim, which was granted.
. Petitioners assert that the court of appeals applied an incorrect standard of review to its appeal when it stated that, "because the record here provides support for the court's finding that all damages sought are provided for in the parties' construction contract, we conclude that the trial court did not err in its application of the economic loss rule." Town of Alma,
. Section 402A provides:
§ 402A SPECIAL LIABILITY OF SELLER OF PRODUCT FOR PHYSICAL HARM TO USER OR CONSUMER
(1) One who sells any product in a defective condition unreasonably dangerous to the user or consumer or to his property is subject to liability for physical harm thereby caused to the ultimate user or consumer, or to his property, if
(a)the seller is engaged in the business of selling such a product, and
(b)it is expected to and does reach the user or consumer without substantial change in the condition in which it is sold.
(2) The rule stated in Subsection (1) applies although
(a)the seller has exercised all possible care in the preparation and sale of his product, and
(b)the user or consumer has not bought the product from or entered into any contractual relation with the seller.
. Our discussion of limiting recovery for commercial or business loss was limited to strict liability in tort actions based on section 402A and, unlike the Seely court's discussion of negligence, we did not address other tort actions. See Hiigel,
. As such, we believe that a more accurate designation of what is commonly termed the "economic loss rule" would be the "independent duty rule." However, for the sake of consistency, we will continue to refer to it as the economic loss rule.
. While the economic loss rule serves today to maintain the distinction between contract and
. In this regard we observe that although some jurisdictions have characterized these types of cases as "exceptions" to the economic loss rule, they are more appropriately viewed as simply outside the scope of the rule. See Formosa Plastics Corp. USA v. Presidio Eng'rs & Contractors, Inc.,
. A trial judge observed the following after presiding over a case involving duplicative contract and tort claims:
Ambiguity in the law breeds a multiplicity of claims, which breeds a geometrically increased multiplicity of motions, which results in fees and expenses disproportionaie to the amount in controversy.... The distinction between tort and contract is important. The distinction determines the measure of damages, the applicable statute of limitations and whether procedural prerequisites such as certificates of review must be followed.
Stephen Phillips, Tort or Contract: A History of Ambiguity and Uncertainty, 21 The Colorado Lawyer 241, 241 (1992); see also Prosser and Keeton § 92, at 655 ("The availability of both kinds of lability for precisely the same kind of harm has brought about confusion and unnecessary complexity. It is to be hoped that eventually the availability of both theories tort and contract for the same kind of loss ... will be reduced in order to simplify the law and reduce the costs of litigation.").
. The scope of this rule includes third-party contract beneficiaries who may have a cause of action for breach of contractual duties. "A basic rule of contract law is that 'a person not a party to an express contract may bring an action on such contract if the parties to the agreement intended to benefit the non-party, provided that the benefit claim is a direct and not merely an incidental benefit of the contract'" Jefferson County Sch. Dist. No. R-1 v. Shorey,
. Petitioners' amended complaint stated that "AZCO's negligence has caused the town's water system to leak in at least eight (8) locations thus far" and Petitioners asked for judgment for "the cost to repair or replace each and every water service line connection installed or repaired by AZCO."
. See supra, Section II(E) at 19-20.
. Section 29-1-110(1) provides:
During the fiscal year, no officer, employee, or other spending agency shall expend or contract to expend any money, or incur any liability, or enter into any contract which, by its terms, involves the expenditure of money in excess of the amounts appropriated. Any contract, verbal or written, made in violation of this section shall be void, and no moneys belonging to a local government shall be paid on such contract.
. Petitioners do not argue that any other provision of section 24-91-103.6(4) prevents an award of attorney's fees in this case.
. We note that we do not reach the issue of whether such fees are appropriate in this case. As the court of appeals correctly observed, the trial court did not hold a hearing on AZCO's motion; therefore, on remand the trial court must hold a hearing to determine whether an award is appropriate and, if so, the proper . amount of the award.
