Alteration, repair or rehabilitation work may be made to any existing structure or building, or electrical, gas, mechanical or plumbing system, without requiring the building or structure, or plumbing, electrical, mechanical or gas system, to comply with all the requirements of the technical codes, if said work conforms to the requirements of the technical codes for new construction. The building official shall determine the extent to which the existing system shall be made to conform to the requirements of the technical codes for new construction.