Since so many of you viewed my question but did not try to answer I have taken the libery to search online and found the answer myself.
Rules of Conduct
Section 100.4 - (G) Practice of Law
A full-time judge shall not practice law. Notwithstanding this prohibition, a judge may act pro se and may, without compensation, give legal advice to a member of the judge's family.
Section 100.6 Application of the rules of judicial conduct.
(A) General application. All judges in the unified court system and all other persons to whom by their terms these rules apply, e.g., candidates for elective judicial office, shall comply with these rules of judicial conduct, except as provided below.
(2) shall not practice law in the court on which the judge serves, or in any other court in the county in which his or her court is located, before a judge who is permitted to practice law, and shall not act as a lawyer in a proceeding in which the judge has served as a judge or in any other proceeding related thereto;