Fix rule firing bug and add unit tests to storm logic. Also retract incorrect documentation about design issue.