location the files by rules