def preprocess_rules(self):
to_prune = self._find_shortest_paths()<EOL>self._prune_rules(to_prune)<EOL>self._rules_processed = True<EOL>
Calculate shortest reference-paths of each rule (and Or field),
        and prune all unreachable rules.