def __iter__(self):
    for rule in self._rules:
      yield rule
Tests that internal _directory_to_subdirs is updated on delete.
dataset/ETHPy150Open agoragames/torus/torus/aggregates.py/Aggregates.__iter__--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/tools/devappserver2/inotify_file_watcher_test.py/TestInotifyFileWatcher.test_subdirectory_deleted