The customary and traditional rules governing the matrimonial regimes and inheritance may only be applicable with the consent of the concerned parties.