Except as otherwise provided in section four hundred eight of this article, or by the provisions of article five-a, chapter thirty-five of this code, or by another statute, the following rules apply:
(1) A trust may be created for a noncharitable purpose without a definite or definitely ascertainable beneficiary or for a noncharitable but otherwise valid purpose to be selected by the trustee. The trust may not be enforced for more than the period set forth in section one, article one-a, chapter thirty-six of this code.
(2) A trust authorized by this section may be enforced by a person appointed in the terms of the trust instrument or, if no person is so appointed, by a person appointed by the court.
(3) Property of a trust authorized by this section may be applied only to its intended use, except to the extent the court determines that the value of the trust property exceeds the amount required for the intended use. Except as otherwise provided in the terms of the trust instrument, property not required for the intended use must be distributed to the grantor, if then living, otherwise to the grantor's successors in interest.