(1) Where a foundation is to rest on, in or near sloping ground, this particular condition shall be provided for in the design.