DRY-up transformation from `universe#tree` to `OpTree`

Make `AnyChar` as `case object`