Migrate the CommentedCode rule