Rick was not managed - at all. Rick became a monster because no one at the management layer was doing their job. If you're letting coders write custom tools instead of procuring where possible, that's management's fault. The list of mismanagement goes on and on. Sure Rick was a douchebag. Anyone who has spent any time in a cs program has met a potential Rick. The fact that you fostered one while he almost blew up your project is your failure, not his.
Edit: also if 90% of his code was able to be thrown out, then I don't think Rick was ever the super star that you or he thought he was.