Merge pull request #18 from hipikat/fix-sudo_rules

Check for sudo_rules before text.append state.
Merge remote-tracking branch 'origin/master' into dotfiles