Every building, wall or structure shall be supported on a stable foundation designed and constructed to transmit safely to the subsoil the total load to be carried by the foundation without undue differential settlement of the building or structure:

Provided that-

i) the local authority may permit the omission of such foundations where the building is supported directly on rock; and

ii) any decision taken by the local authority regarding the classification of a subsoil or to require or to dispense with the making of a site investigation or on the recording of one or more soil profiles on the building site shall not

involve the local authority in any responsibility for the safety of the proposed building or structure.