A. The tenant may assert that there exists upon the leased premises a condition that constitutes a material noncompliance by the landlord with the rental agreement or with provisions of law or that, if not promptly corrected, will constitute a fire hazard or serious threat to the life, health, or safety of occupants of the premises, including (i) a lack of heat or hot or cold running water, except where the tenant is responsible for payment of the utility charge and where the lack of such heat or hot or cold running water is the direct result of the tenant's failure to pay the utility charge; (ii) a lack of light, electricity, or adequate sewage disposal facilities; (iii) an infestation of rodents; or (iv) the existence of paint containing lead pigment on surfaces within the dwelling, provided that the landlord has notice of such paint. The tenant may file such an assertion in a general district court in which the premises is located by a declaration setting forth such assertion and asking for one or more forms of relief as provided for in subsection E.
B. Prior to the granting of any relief, the tenant shall show to the satisfaction of the court that, prior to the commencement of the action, the landlord or his agent refused or, having a reasonable opportunity to do so, failed to remedy the condition for which he was served a written notice of the condition by the tenant or was notified of such condition by a violation or condemnation notice from an appropriate state or local agency. For the purposes of this subsection, what period of time shall be deemed to be unreasonable delay is left to the discretion of the court, except that there shall be a rebuttable presumption that a period in excess of 30 days from receipt of the notification by the landlord is