(0) Obligation:

Q restricted rewrite system:
The TRS R consists of the following rules:

f(X) → g(n__h(f(X)))
h(X) → n__h(X)
activate(n__h(X)) → h(X)
activate(X) → X

Q is empty.