def __getstate__(self):
    d = {}
    for k,v in self.__dict__.items():
      if not self.__transient_attrs__.has_key(k):
        d[k] = v
    return d
Parses an extraction rule.
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/python-ldap-2.3.13/Lib/ldap/ldapobject.py/ReconnectLDAPObject.__getstate__--crossover with--dataset/ETHPy150Open devttys0/binwalk/src/binwalk/modules/extractor.py/Extractor._parse_rule