parse_model_lhs function

Parse the RHS of the model formula for transformations