added rule for repl dir