Addition rule for nonlinear algebras