-add support for different matching rules for Headers