I think rewrites can be as "glamorous" as greenfield, because you get to use a modern language and toolset. yes you have some drudgery tacked on, which is likely having to wade through legacy C code, but having a perfect set of working requirements (do what the old app does!) more than makes up for it.