clean up rewrite.feature