Expenditure incurred to resist in a civil proceeding the enforcement of a measure-legislative or executive, which imposes restrictions on the carrying on of a business or to obtain a declaration that the measure is invalid would.