Rocket:
Rockets are working in a different way. The propulsion is generated by burned fuel and the resulting volumetric expansion or acceleration of the burned (mass) particles out of the thrust nozzles. This works even in a vacuum (space) because the rocket carries it's mass at which it is "pushing off" itself and therefore during the combustion process it continuously looses (significant) weight, but again it works according to "Newton".
The afterburner of supersonic aircrafts or fighter is working in the same way.