Rule-Based Compressible Solver for Supercritical and Subcritical Combustion in Rocket Injectors Using Flamelet Models