Rewrite code style detector