We use the method of Darboux coverings to discuss the invariant subman
ifolds of the KP equations presented as conservation laws in the space
of monic Laurent series in the spectral parameter (the space of the H
amiltonian densities). We identify a special class of these submanifol
ds with the rational invariant submanifolds entering matrix models of
two-dimensional gravity recently characterized by Dickey and Krichever
. Four examples of the general procedure are provided.