Support Command Arrays

Allow the command setting in rule to be an array. The commands will
be run sequentially.
Chomp Subprocess Output

subprocess.check_output had a newline at the end. Chomp it.