Fix setup for new rules of directories