Update script so it runs once again.

scandir now handles the rules file and passes it down to if_match_move.

the rules file commandline argument is passed to scandir.