Have directory structure and rules working