wyer if any activities of the partnership consist of the practice of law.Rule 5.4(c) prohibits a lawyer from allowing a third party to direct or regulate the lawyer's professional judgment in rendering legal services to a client.Rule 5.4(d) prohibits a lawyer from practicing in a firm in which a nonlawyer has an ownership interest, or is a director or officer, or has the right to direct or control