Reformat input line for rates and outputs as well as algebraic equations.