Support new -r <rulesFile> option to read and apply rules file.