switch to loading rules from a directory