feature/outer kore

**please review**

outer KORE sketch. will probably change as we start using it.
@radumereuta, remember the discussion we had with Grigore at RV. Is the match of the regex made part of the AST or not? If not, we'll have to retain its content in either the label or the attributes of the term.