Except as otherwise provided in subsection (c), the following rules apply:
The following rules determine a commodity intermediary's jurisdiction for purposes of this part:
If an agreement between the commodity intermediary and commodity customer governing the commodity account expressly provides that a particular jurisdiction is the commodity intermediary's jurisdiction for purposes of this part, this article, or the Uniform Commercial Code, that jurisdiction is the commodity intermediary's jurisdiction.
If paragraph (1) does not apply and an agreement between the commodity intermediary and commodity customer governing the commodity account expressly provides that the agreement is governed by the law of a particular jurisdiction, that jurisdiction is the commodity intermediary's jurisdiction.
If neither paragraph (1) nor paragraph (2) applies and an agreement between the commodity intermediary and commodity customer governing the commodity account expressly provides that the commodity account is maintained at an office in a particular jurisdiction, that jurisdiction is the commodity intermediary's jurisdiction.
If none of the preceding paragraphs applies, the commodity intermediary's jurisdiction is the jurisdiction in which the office identified in an account statement as the office serving the commodity customer's account is located.
The local law of the jurisdiction in which the debtor is located governs:
Perfection of a security interest in investment property by filing;
Automatic perfection of a security interest in investment property created by a broker or securities intermediary; and
Automatic perfection of a security interest in a commodity contract or commodity account created by a commodity intermediary.