42 Pa.C.S. § 5102
Place and form of filing applications for relief
Applications for relief to any court under section 5101 (relating to remedy to exist for legal injury) or under any other provision of law, or documents relating to a matter before a magisterial district judge, shall be filed in such office and in such form as may be prescribed by general rule or rule of court. (Nov. 30, 2004, P.L.1618, No.207, eff. 60 days)