def get_inactive_rulesets(rulesengine_db):
    """gets all inactive rulesets"""
    from src.praxxis.sqlite import connection
    conn = connection.create_connection(rulesengine_db)
    cur = conn.cursor()
    get_inactive_rulesets = (
        'SELECT Name FROM "RulesEngine" WHERE ACTIVE = 0 ORDER BY ID')
    cur.execute(get_inactive_rulesets)
    conn.commit()
    rows = cur.fetchall()
    conn.close()
    return rows
