In the relativistic theory the principle of naturality of physical laws leads to differential
equations admitting diffeomorphisms of space-time as symmetries.
In this paper we investigate differential invariants of actions of diffeomorphisms on (pseudo)-
Riemann metrics, on solutions of the Einstein equation, and on solutions of the Einstein—Maxwell
equation. We find the corresponding fields of rational differential invariants and the corresponding
factor-equations.