rewriter!

+ made it work for KSequence
Merge remote-tracking branch 'origin/feature/KORE-pattern-matcher' into feature/KORE-convertors