add back tests for loading rules from a directory