Stopped the storage manager from crahsing when dealing with an empty ruleset