Move loading of rules to async task