A. An Agreement between the parties shall be valid and binding if
1. the agreement is in writing, or
2. the terms of the agreement are set forth on the record before a judge, commissioner, judge pro tempore, court reporter, or other person authorized by local rule or Administrative Order to accept such agreements, or
3. the terms of the agreement are set forth on any audio recording device before a mediator or settlement conference officer appointed by the court pursuant to Rule 67.
B. Any agreement entered into by the parties under this rule shall be presumed to be valid and binding, and it shall be the burden of the party challenging the validity of the agreement to prove any defect in the agreement, except that nothing herein shall preclude the court from exercising its independent discretion pursuant to A.R.S. § 25-317. Pursuant to A.R.S. § 25-324, the court may award a party the cost and expenses of maintaining or defending a proceeding to challenge the validity of an agreement made in accordance with this rule.