def show_rules():
from rules.loader import import_rules<EOL>from rules.rule_list import all_rules<EOL>rules = import_rules(all_rules)<EOL>print("<STR_LIT>")<EOL>for name, rule in rules.iteritems():<EOL><INDENT>heading = "<STR_LIT>".format(rule.description(), name)<EOL>print("<STR_LIT>".format(heading))<EOL>for line in rule.reason():<EOL><INDENT>print(line)<EOL><DEDENT>print("<STR_LIT>")<EOL><DEDENT>sys.exit(<NUM_LIT:0>)<EOL>
Show the list of available rules and quit
:return: