context-sensitive network grammar