I am looking at this answer: https://physics.stackexchange.com/a/225417/747. It states:
Let $f\colon U\to V$ be any coordinates transformation on charts of a manifold $U,V\subset\mathcal{M}$ (i. e. a change of coordinates). Under such transformation fields $\phi(x)$ are sent into $\phi'(f(x)) = S(x)\phi(x)$.
In order the equations of motion to be satisfied, one must require certain appropriate conditions on the factor $S(x)$ (in particular one can see that these could be related to the representations of the underlying group of transformations $f$). The set of all allowed operators $S(x)$ defines the symmetry group of the theory for the general mapping $f$ as defined above. In the case of general relativity $f$ are the diffeomorphisms and $S(x)$ span the general linear group (up to isomorphisms and cartesian products).
My question is how far the expression $\phi'(f(x)) = S(x)\phi(x)$ is from general relativity? Can we derive the equations of motion using said expression as a starting point? What steps and additional assumptions to said expression must be made to reach the appropriate equation of motion?
The question I have linked provides a related answer, but not quite: Ideally, I am looking for a step-by-step process starting from $\phi'(f(x)) = S(x)\phi(x)$ as step 1, and the field equations for the final step. If I need additional baggage to get GR, what specifically is the additional baggage, then such baggage should be shown in intermediary steps. Specifically, I work with a system whose solutions is the set of all expressions of the type $\phi'(f(x)) = S(x)\phi(x)$, where $S(x) \in GL(4,R)$. I suspect it is relatable to GR but I do not know how close to it this is. Is a general expression of this type $\phi'(f(x)) = S(x)\phi(x)$ equivalent to GR, enough to derive GR, or merely a solution compatible with GR?