13. A computer program product, comprising: a hardware storage device having program code stored thereon for managing a cloud computing environment adapted to host a virtual machine, generating, responsive to a determination that a predicate of a rule matches a given node in the set of nodes, a compound result and an interim mutated output document by applying a function of the rule to the given node; determining, responsive to a determination that the compound result contains a next node, whether the next node is compared with a predicate of a next rule; applying, responsive to a determination that the predicate of the next rule matches the next node, a function of an identified rule to next node to generate a second compound result and interim mutated output document; and generating a final mutated output document using the interim mutated output document as input, wherein the compound result includes a node to process next and an instruction indicating continue or break.
13. A computer program product, comprising: a hardware storage device having program code stored thereon for managing a cloud computing environment adapted to host a virtual machine, generating, responsive to a determination that a predicate of a rule matches a given node in the set of nodes, a compound result and an interim mutated output document by applying a function of the rule to the given node; determining, responsive to a determination that the compound result contains a next node, whether the next node is compared with a predicate of a next rule; applying, responsive to a determination that the predicate of the next rule matches the next node, a function of an identified rule to next node to generate a second compound result and interim mutated output document; and generating a final mutated output document using the interim mutated output document as input, wherein the compound result includes a node to process next and an instruction indicating continue or break. 17. The computer program product of claim 13 , wherein the compound result includes an instruction indicating processing by comparing a predicate of the next node with one of the next rule and a first rule in the set of rules.