Implemented domain glob matching. Normal and glob matching now check the end of the domain instead of the whole thing