Improved matching patterns with check of a node's kind and type. Add finding patterns within sub_processes.