A contract may create rights in a third party when the parties to the contract expressly or impliedly agree, at the time of making it, that the performance of one of them will be rendered to or for the benefit of a person who is not a party to the contract, and that the nonparty will have the right to enforce that commitment. The creation of the third-party rights is contemplated by the parties and occurs at the time of contract formation.