Section 24. The provisions of this chapter shall be in force only so far as they are not inconsistent with the express provisions of any general or special law; and, so far as apt, shall apply to districts as defined in section one A of chapter forty.