Refactored matching configuration reader