Fixed a bug in the storage class, and added the dynamic loading and unloading of rules.