A judge may accept reasonable compensation for extrajudicial activities permitted by this Code or other law unless such acceptance would appear to a reasonable person to undermine the judge's independence, integrity, or impartiality.
207 Pa. Code r. 3.12