Where any attorney acting as trial counsel in the trial of an action is called as a witness on behalf of a party whom the attorney represents, the court may determine whether such attorney may thereafter continue to act as trial counsel during the remainder of the trial.
231 Pa. Code r. 222