support to add match blocks from different modules

This adds the possibility to make the global configuration from one module and add match blocks with different settings from other modules