let srules e rl =
let t =
List.fold_left
(fun tree (symbols, action) ->
Insert.insert_tree e symbols action tree)
DeadEnd rl
in Stree t