Performance Fix: User a hash to store rules. Key rules by subject.