(a) If the wrongful act occurred in another state, the District of Columbia, or a territory of the United States, a Maryland court shall apply the substantive law of that jurisdiction.
(b) Notwithstanding the fact that the wrongful act occurred in another jurisdiction, a Maryland court in which the action is pending shall apply its own rules of pleading and procedure.