add latest history storage.

SimpleThresholdRule has to real data from latest history storage instead
of real time data.

Before blocking ips, system flushes real time data.