Where the cause of nullity affects only one or more clauses of the contract, it entails nullity of the entire act only if that clause or those clauses constituted a determining element of the commitment of the parties or of one of them.
The contract is maintained when the law repudiates the unwritten clause, or when the purposes of the disregarded rule require its maintenance.