'Initialize the filter configuration from a validated configuration.
The configuration is read. Active filters are added to the matcher list,
which is used to process the Stat values.'

def _Initialize(self):

    if self.cfg.mask:
        self.mask = int(self.cfg.mask[0], 8)
    else:
        self.mask = 4095
    if self.cfg.mode:
        self.mode = int(self.cfg.mode[0], 8)
        self.matchers.append(self._MatchMode)
    if self.cfg.gid:
        for gid in self.cfg.gid:
            matched = self._UID_GID_RE.match(gid)
            if matched:
                (o, v) = matched.groups()
                self.gid_matchers.append((self._Comparator(o), int(v)))
        self.matchers.append(self._MatchGid)
    if self.cfg.uid:
        for uid in self.cfg.uid:
            matched = self._UID_GID_RE.match(uid)
            if matched:
                (o, v) = matched.groups()
                self.uid_matchers.append((self._Comparator(o), int(v)))
        self.matchers.append(self._MatchUid)
    if self.cfg.file_re:
        self.file_re = re.compile(self.cfg.file_re[0])
        self.matchers.append(self._MatchFile)
    if self.cfg.path_re:
        self.path_re = re.compile(self.cfg.path_re[0])
        self.matchers.append(self._MatchPath)
    if self.cfg.file_type:
        self.file_type = self._TYPES.get(self.cfg.file_type[0].upper())
        self.matchers.append(self._MatchType)
