Formulation of moment equations for rarefied gases within two frameworks of non-equilibrium thermodynamics: RET and GENERIC. (30th March 2020)