Generated Relation: OK, TuplePattern: WIP

I'll flat pattern, generated