delivered the opinion of the court:
Defendant, Frank Wiener, appeals from the trial court’s orders granting summary judgment to plaintiff, VG Marina Management Corporation, on its complaint for rent and awarding plaintiff its attorney fees incurred in bringing the complaint. On appeal, defendant contends that (1) the award of attorney fees violates section 5 — 12— 140(f) of Chicago’s Residential Landlord and Tenant Ordinance (the RLTO) (Chicago Municipal Code §5 — 12—140(f) (amended November 6, 1991)), and (2) the lease agreement between the parties is unenforceable because it contains provisions that violate the RLTO. For the reasons that follow, we affirm.
On April 19, 2001, plaintiff filed a “complaint for rent,” alleging that defendant had breached the parties’ lease agreement by failing to timely pay rent. The complaint requested the award of all past-due rent as well as plaintiff’s attorney fees incurred in the action. Plaintiffs claim for attorney fees was predicated on paragraph 15(e) of the lease, which provided:
“Lessee shall pay upon demand all Lessor’s costs, charges and expenses, including the fees of agents and others retained by Lessor and, as provided by applicable laws and court rules, the fees of counsel incurred in enforcing Lessee’s obligations hereunder or incurred by Lessor in any litigation, negotiation, or transaction in which Lessee causes Lessor, without Lessor’s fault, to become involved or concerned.”
The parties subsequently filed cross-motions for summary judgment. Defendant did not contest plaintiffs assertion that he had failed to pay rent due under the lease agreement. Rather, defendant argued, inter alia, that the attorney fees provision contained in paragraph 15(e) of the lease was unenforceable under the RLTO and that the lease as a whole was unenforceable as a matter of public policy, by virtue of lease provisions that violated the RLTO. On September 14, 2004, the trial court denied defendant’s motion for summary judgment and granted plaintiffs motion for summary judgment. The trial court also ruled that plaintiff was entitled to an award of attorney fees and granted plaintiff leave to file a fee petition. On May 19, 2005, after considering plaintiffs petition for attorney fees, the trial court entered judgment against defendant for $30,380.66, consisting of $6,798.82 for unpaid rent, $1,081.84 for costs, and $22,500 for plaintiffs attorney fees. Defendant timely appeals.
Defendant first contends that the trial court erred in granting summary judgment to plaintiff on the issue of attorney fees. As he did at trial, defendant argues that the attorney fees provision contained in paragraph 15(e) of the lease is unenforceable under section 5 — 12— 140(f) of the RLTO. Summary judgment is proper when the pleadings, depositions, and affidavits on file demonstrate that no genuine issue of material fact exists and that the moving party is entitled to judgment as a matter of law. City of Oakbrook Terrace v. Suburban Bank & Trust Co., 364 Ill. App. 3d 506, 510 (2006). We review de novo the propriety of an order granting summary judgment. City of Oakbrook Terrace, 364 Ill. App. 3d at 510, citing Outboard Marine Corp. v. Liberty Mutual Insurance Co., 154 Ill. 2d 90, 102 (1992). Similarly, the construction and legal effect of the lease agreement and the provisions of the RLTO are questions of law, which we review de novo. Lawrence v. Regent Realty Group, Inc., 197 Ill. 2d 1, 9 (2001); Plambeck v. Greystone Management & Columbia National Trust Co., 281 Ill. App. 3d 260, 266 (1996).
The same rules that govern the interpretation of statutes apply in construing municipal ordinances. Starr v. Gay, 354 Ill. App. 3d 610, 612 (2004). As in the case of a statute, the primary objective in construing an ordinance is to ascertain and give effect to the intent of the lawmaking body as disclosed by the language contained in the ordinance. Starr, 354 Ill. App. 3d at 612-13. The best indicator of this intent comes from the language of the ordinance itself, but may also include consideration of the reason behind and the necessity for the ordinance. American National Bank v. Powell, 293 Ill. App. 3d 1033, 1038 (1997) (interpreting the RLTO).
Section 5 — 12—140 of the RLTO provides in relevant part as follows:
“Except as otherwise specifically provided by this chapter, no rental agreement may provide that the landlord or tenant:
>!< 'i> %
(f) Agrees that in the event of a lawsuit arising out of the tenancy the tenant will pay the landlord’s attorney’s fees except as provided for by court rules, statute, or ordinance.” Chicago Municipal Code §5 — 12—140(f) (amended November 6, 1991).
The plain language of this section is clear: a rental agreement may not provide that a tenant agrees to pay attorney fees in connection with a lawsuit, unless such attorney fees are provided for by court rules, statute, or ordinance. The plain language of paragraph 15(e) of the lease agreement does not violate section 5 — 12—140(f) of the RLTO, because it provides that plaintiff may recover attorney fees incurred in enforcing defendant’s obligations under the lease agreement only “as provided by applicable laws and court rules.” Accordingly, we read the attorney fees language of paragraph 15(e) of the lease to be in harmony with section 5 — 12—140(f). See Plambeck, 281 Ill. App. 3d at 267 (holding that a lease containing provision that lessee shall pay costs, expenses, and attorney fees incurred by lessor due to lessee’s breach of lease agreement “ ‘to the extent permissible by Court rules, Court order, state statute or Local Ordinance’ ” (emphasis omitted) did not violate section 5 — 12—140(f) of the RLTO).
Defendant additionally argues that, even if paragraph 15(e) of the lease does not violate section 5 — 12—140(f) of the RLTO, no court rule, statute, or ordinance provides for the recovery of attorney fees in the instant case. The trial court rejected this argument, ruling that section 5 — 12—180 of the RLTO permitted such an award. Section 5 — 12—180 provides as follows:
“Except in cases of forcible entry and detainer actions, the prevailing plaintiff in any action arising out of a landlord’s or tenant’s application of the rights or remedies made available in this ordinance shall be entitled to all court costs and reasonable attorney’s fees; provided, however, that nothing herein shall be deemed or interpreted as precluding the awarding of attorney’s fees in forcible entry and detainer actions in accordance with applicable law or as expressly provided for in this ordinance.” Chicago Municipal Code §5 — 12—180 (added November 6, 1991).
Defendant argues that this provision does not apply in this case, because plaintiff’s complaint did not seek a right or remedy made available in the RLTO. We disagree.
Section 5 — 12—130 of the RLTO provides the rights and remedies available to a landlord when a tenant has breached the terms of a lease agreement or where a tenant has breached his or her other obligations under the RLTO. Chicago Municipal Code §5 — 12—130 (amended November 6, 1991). Subsection (a) of that section specifically provides a landlord’s remedies upon a tenant’s failure to pay rent and states as follows:
“(a) Failure to Pay Rent. If all or any portion of rent is unpaid when due and the tenant fails to pay the unpaid rent within five days after written notice by the landlord of his intention to terminate the rental agreement if rent is not so paid, the landlord may terminate the rental agreement. *** A landlord may also maintain an action for rent and/or damages without terminating the rental agreement.” Chicago Municipal Code §5 — 12—130(a) (amended November 6, 1991).
Subsection (a) provides two distinct remedies upon the nonpayment of rent: one remedy permits a landlord to terminate the lease agreement upon proper notice to the tenant, and the other remedy permits a landlord to maintain an action for rent and damages without terminating the agreement. In the instant case, plaintiff did not seek the remedy of termination, as its lease agreement with defendant had already expired and defendant had vacated the premises. Instead, plaintiffs complaint for rent sought the second remedy, which permits a landlord to “maintain an action for rent and/or damages.”
Although plaintiffs complaint for rent did not specifically indicate that it was brought pursuant to the provisions of the RLTO, the complaint nonetheless invoked a remedy provided by the RLTO. The RLTO “applies to, regulates and determines rights, obligations and remedies under every rental agreement for a dwelling unit located within the City of Chicago.” Chicago Municipal Code §5 — 12—010 (amended November 6, 1991). The rights or remedies available to landlords under the laws of the State of Illinois, or other local ordinances, are applicable only “[t]o the extent [the RLTO] provides no right or remedy in a circumstance.” Chicago Municipal Code §5— 12 — 190 (amended November 6, 1991). As the RLTO regulated and determined plaintiffs remedies under the instant rental agreement, and because section 5 — 12—130(a) of the RLTO specifically provided remedies for the nonpayment of rent, plaintiffs complaint necessarily was brought pursuant to the authority of the RLTO. Under sections 5 — 12—010 and 5 — 12—190, no other remedies were available to plaintiff.
Moreover, we note that courts are to construe pleadings liberally, with the view to do substantial justice between the parties. Skorek v. Przybylo, 256 Ill. App. 3d 288, 289 (1993). An opposing party is not prejudiced where the pleading contains facts that reasonably inform that party of the nature of the charge to be answered. Skorek, 256 Ill. App. 3d at 289. In the instant case, plaintiffs complaint contained facts sufficient for it to be construed as an action for rent under section 5 — 12—130(a) of the RLTO. Plaintiff alleged the existence of a lease between the parties for the rental of a dwelling unit in the City of Chicago and defendant’s failure to pay rent according to the terms of the lease. Plaintiff also specifically requested an award of attorney fees, which ordinarily is unavailable in a common-law action for breach of contract. See Leahy Realty Corp. v. American Snack Foods Corp., 253 Ill. App. 3d 233, 250 (1993). In defending against plaintiff’s complaint, defendant specifically invoked the RLTO and, in their cross-motions for summary judgment, the parties argued the import of various provisions of the RLTO. In defendant’s motion for summary judgment, defendant noted that the subject rental apartment was within the boundaries of the City of Chicago and asserted that the RLTO “is applicable to the particulars of the landlord tenant relationship in this case.” Under these circumstances, defendant was not prejudiced by plaintiffs failure to specifically reference the RLTO in its complaint.
For these reasons, we conclude that plaintiff’s complaint sufficiently invoked a remedy under section 5 — 12—130(a) of the RLTO. After plaintiff prevailed upon its complaint for a remedy “made available” under the RLTO, the trial court correctly determined that plaintiff was entitled to an award of costs and attorney fees under section 5 — 12—180, and we uphold its award. See Meyer v. Cohen, 260 Ill. App. 3d 351, 363 (1993) (noting that section 5 — 12—180 is a blanket provision entitling party to attorney fees and costs upon prevailing in an action asserting rights or remedies under the RLTO).
In so holding, we note that our analysis does not undermine or render meaningless the protections afforded tenants under section 5 — 12—140(f) of the RLTO. Our conclusion that a landlord prevailing in an action to recover unpaid rent may recover attorney fees under section 5 — 12—180 in no way alters section 5 — 12—140(f)’s prohibition against lease provisions requiring a tenant to pay attorney fees not “provided for by court rules, statute, or ordinance.” Chicago Municipal Code §5 — 12—140(f) (amended November 6, 1991). Section 5 — 12—140(f) continues to prohibit attorney fees provisions not authorized by law, an example of which would be a lease provision that required a tenant to pay a landlord’s attorney fees incurred in a lawsuit regardless of whether the landlord was the prevailing party. Our decision today does nothing to alter the import or effect of section 5 — 12—140(f).
Defendant next contends that two provisions of the lease agreement violated section 5 — 12—140 of the RLTO (Chicago Municipal Code §5 — 12—140 (amended November 6, 1991)) and that, as a consequence, the entire lease must be declared void and unenforceable as against public policy. Specifically, defendant alleges that the following lease provisions violate section 5 — 12—140: (1) the attorney fees provision contained in lease paragraph 15(e), and (2) the holdover-tenant provision contained in lease paragraph 15(b). As we have already discussed, the attorney fees provision of the lease agreement did not violate section 5 — 12—140(f). See Plambeck, 281 Ill. App. 3d at 267.
As to the holdover-tenant provision of the lease, regardless of whether it violated section 5 — 12—140 of the RLTO, we reject defendant’s argument that the entire lease must be invalidated. Section 5 — 12—140 provides: Thus, the RLTO specifically provides a remedy in the case of a lease provision that violates one or more portions of section 5 — 12—140. Because plaintiff never attempted to assert against defendant the holdover-tenant lease provision, he has not been damaged by the inclusion of this allegedly illegal provision, and we decline defendant’s request to expand upon the explicit remedy provided by section 5 — 12—140. The RLTO is clear in defining a tenant’s remedy for the inclusion of prohibited lease provisions, and we decline defendant’s invitation to void the lease as a matter of public policy. Cf. Lawrence, 197 Ill. 2d at 11 (“courts may not rewrite statutes to make them consistent with their own ideas of orderliness and public policy”).
“A provision prohibited by this section included in a rental agreement is unenforceable. The tenant may recover actual damages sustained by the tenant because of the enforcement of a prohibited provision. If the landlord attempts to enforce a provision in a rental agreement prohibited by this section the tenant may recover two months rent.” Chicago Municipal Code §5 — 12—140 (amended November 6, 1991).
Further, even if we were inclined to reexamine the wisdom of the remedies contained in section 5 — 12—140, we are not convinced that public policy would compel invalidation of the lease in its entirety, based upon the challenged provision. Section 184(1) of the Restatement (Second) of Contracts provides that when some portion of an agreement is unenforceable as against public policy:
“[A] court may nevertheless enforce the rest of the agreement in favor of a party who did not engage in serious misconduct if the performance as to which the agreement is unenforceable is not an essential part of the agreed exchange.” Restatement (Second) of Contracts §184(1), at 30 (1981).
Although there is a public policy argument in favor of insuring that the provisions of the RLTO are followed, there is also a significant public policy interest in upholding the parties’ lease agreement. “[Cjomplex, multipart agreements on which there may have been significant reliance should not be void as a whole solely because some small part is against public policy” (People v. McNett, 361 Ill. App. 3d 444, 448 (2005)), because, absent great inequality or misconduct involving an essential term of the contract, doing so would frustrate the contractual expectations of the parties. Here, defendant fails to relate how the holdover-tenant provision impacted upon his failure to pay rent after voluntarily relinquishing possession of the premises. Defendant also has failed to show prejudice that materially affected the rights of the parties under the lease agreement.
In urging a contrary result, defendant directs us to the Wisconsin Supreme Court’s decision in Baierl v. McTaggart, 245 Wis. 2d 632, 629 N.W.2d 277 (2001), in which the court voided a lease that, he argues, contained invalid attorney fee language. However, it is well settled that decisions by courts from other states are not binding on courts of this state. Those Certain Underwriters at Lloyd’s v. Professional Underwriters Agency, Inc., 364 Ill. App. 3d 975, 981 (2006). To the extent defendant’s citation to foreign authority would direct us to a different result, we find it unpersuasive and instead follow the principles of law discussed above.
For the foregoing reasons, we affirm the trial court’s orders granting plaintiffs motion for summary judgment and awarding plaintiff attorney fees. We deny plaintiffs request for an award of attorney fees on appeal, because we conclude that plaintiff has failed to show that such fees are warranted under Supreme Court Rule 375 (155 Ill. 2d R. 375).
Affirmed.
McLAREN, J., concurs.