Update ListRules.py

Added error handler around urllib2.urlopen(req) call.