Rewrite rainbow_parentheses