[impl] add 'structure' patterns to use for matching rules