What are some of the benefits to having an agreement in writing? What legal rules apply once the agreement is in writing?