Updated matching for DomainRule pattern to support * wildcards