GENERALIZED ENERGIES AND INTEGRABLE $D^{(1)}_{n}$ CELLULAR UTOMATON