def get_active_rulesets(rulesengine_db, query_start, query_end):
    """gets all active rulesets and paths"""
    from src.praxxis.sqlite import connection
    conn = connection.create_connection(rulesengine_db)
    cur = conn.cursor()
    get_active_rulesets = (
        'SELECT * FROM "RulesEngine" WHERE ACTIVE = 1 ORDER BY ID')
    cur.execute(get_active_rulesets)
    conn.commit()
    rows = cur.fetchall()
    conn.close()
    return rows
