(2) There shall be allowed as a credit against taxes imposed by this chapter all ad valorem taxes imposed by the state, counties, cities, towns, school districts and other municipal corporations and political subdivisions upon any property rights attached to or inherent in the right to produce oil and gas, upon producing oil and gas leases, upon machinery, appliances and equipment used in and around any well producing oil or gas and actually used in the operation of the well, upon oil and gas produced in the state and upon any investment in any property mentioned or described in this subsection. [1981 c.889 §4]