1. An arrangement in a virtual machine for virtual machine supervision, the arrangement comprising one or more processors configured to: receive program code to be executed on the virtual machine, wherein the one or more processors are further configured to receive a rule from a policy provider external to the virtual machine, the rule referring to the execution of the program code, create rule infused machine code based on the program code and the rule, by injecting instructions that enforce a set of rules for the execution of program code into the program code, such that the rule is enforced when the machine code is executed on the virtual machine, execute the rule infused machine code, check if the execution of the rule infused machine code complies with the rule, and based on the check, store a value in a private memory area, and at a later check, access the value and perform an action based on the value, wherein the private memory area is private such that only rule elements in the rule infused machine code can access values in the private memory area.