Sections 36-25-18 to 36-25-21, inclusive, shall not be construed as affecting professional services in drafting bills or in advising clients and in rendering opinions as to the construction and effect of proposed or pending legislation, executive action, rules, or regulations, where those professional services are not otherwise connected with legislative, executive, or regulatory action.