def get_ruleset_path(rulesengine_db, name):
    """returns the path to a ruleset"""
    from src.praxxis.sqlite import connection
    from src.praxxis.util import error
    conn = connection.create_connection(rulesengine_db)
    cur = conn.cursor()
    get_ruleset_path = 'SELECT Path FROM "RulesEngine" WHERE Name = ?'
    cur.execute(get_ruleset_path, (name,))
    conn.commit()
    rows = cur.fetchone()
    conn.close()
    if rows is None:
        raise error.RulesetNotFoundError(name)
    return rows[0]
