ast cleanup: removing static analysis
debugging: remove old and unused rewriting logic