commonRules added
Fixed bug in preprocessArg, fixed commonRules
slight change to error message