The meaning and effect of the provisions of a trust instrument shall be determined by:
(1) the law of the jurisdiction designated in the trust instrument, but the mandatory rules of section 7705(b) (relating to trust instrument controls; mandatory rules - UTC 105) shall govern if different from the law of the jurisdiction designated in the trust instrument; or
(2) in the absence of an effective designation in the trust instrument, the law of the jurisdiction in which the settlor is domiciled when the trust becomes irrevocable.