The military supported Ion Iliescu to take over the country. He saw the writing on the wall, and switched gears, implementing shock therapy and privatizing everything, to suck up to the US and NATO.
The whole "revolution" bit was just the military allowing a bit of chaos to make people think they've "freed" themselves.
That being said, Ceaușescu was a pretty shit leader, who made some terrible economic and social decisions. The fact that he tried to centralize power around him certainly didn't help.