After calling the function on the child nodes, the Match function is called another time to match further rules. This time, the rules which depend on the values of the variables set in the function calls are retrieved.
I used a cascade of relative clauses. Is it normal to have such cascade in an article? How can I rephrase it so that it be shorter? as an extreme example consider
the rules that depends on the variables set by the functions called on the strings given by a user who is assigned a task which is ....
Second, is it "in function calls" or "on function calls"?
Third, should I say variables set in the function calls or variables that might be set in the function calls. Because maybe no variable is set in the function calls.
Update: I might be able to shortcut the dependency by:
...This time, the rules whose (related, dependent, used) variables were set in the function calls are retrieved