A. The defendant in the principal action may assert in a reconventional demand any causes of action which he may have against the plaintiff in the principal action, even if these two parties are domiciled in the same parish and regardless of connexity between the principal and reconventional demands.B. The defendant in the principal action, except in an action for divorce under Civil Code Article 102 or 103 or in an action under Civil Code Article 186, shall assert in a reconventional demand all causes of action that he may have against the plaintiff that arise out of the transaction or occurrence that is the subject matter of the principal action.