Fix robustness bug in rule file loading--was trusting cache contents too much