def display_ruleset_list(rulesets):
    """display function for listing rulesets"""
    activation_messages = ['(INACTIVE)', '(ACTIVE)']
    print('Rulesets:')
    i = 1
    for ruleset in rulesets:
        print('\t%s.\t%s\t\t%s' % (i, ruleset[0], activation_messages[
            ruleset[1]]))
        i += 1
