A judge shall not engage in any activity prohibited by this subchapter or any other provision of law and shall not violate any canon of ethics prescribed by general rule. A magisterial district judge shall devote the time necessary for the prompt and proper disposition of the business of that office, which shall be given priority over any other occupation, business, profession, pursuit or activity. A magisterial district judge shall not use or permit the use of the premises established for the disposition of magisterial business for any other occupation, business, profession or gainful pursuit. A magisterial district judge shall not hold any other elected or appointed public office in this Commonwealth. A magisterial district judge and an appointive judicial officer shall be governed by rules or canons prescribed by general rule.
42 Pa.C.S. § 3302