1. If a plea of guilty or guilty but mentally ill is made in a written plea agreement, the agreement must be substantially in the following form:
2. If the defendant is represented by counsel, the written plea agreement must also include a certificate of counsel that is substantially in the following form: