  The aim of this paper is to define and to study families of almost
rectifiable vector fields and analyse their applications to the study of
hydrodynamic-type equations involving Riemann invariants. Our results explain,
in a brief and simple manner, previous findings in the theory of Riemann
invariants for hydrodynamic-type equations. Facts concerning the structure of
families of almost rectifiable vector fields, their relation to Hamiltonian
integrable systems, and practical procedures for studying such vector fields
are developed. We also introduce and analyse almost rectifiable Lie algebras,
which are motivated by geometric, algebraic, and practical reasons. We classify
one-, two-, and three-dimensional almost rectifiable Lie algebras, as well as
four- and five-dimensional indecomposable almost rectifiable Lie algebras, and
other higher-dimensional ones. New methods for solving systems of
hydrodynamic-type equations are established to illustrate our theoretical
results. In particular, we study several hydrodynamic-type systems of partial
differential equations. Hydrodynamic-type systems admitting k-wave solutions
with an associated almost rectifiable Lie algebra of vector fields are defined.
We provide new methods for obtaining the submanifolds related to Riemann
invariants through almost rectifiable Lie algebras of vector fields and partial
differential equations admitting a (nonlinear) superposition rule: the
so-called PDE Lie systems.
