more flexible rules_directory