  The Euler-Lagrange equations for some class of gravitational actions are
calculated by means of Palatini principle. Polynomial structures with Einstein
metrics appear among extremals of this variational problem.
