Migrate the CommentRegularExpression rule