1. An arrangement in a virtual machine for virtual machine supervision comprising: a translator ( 1 ) operable in the virtual machine ( 10 ), the translator ( 1 ) comprising: a receiving unit ( 2 ) adapted to receive program code to be executed on the virtual machine ( 10 ), wherein the receiving unit ( 2 ) is further adapted to receive a rule referring to the execution of the program code, and a code unit ( 3 ) adapted to create rule infused machine code based on the program code and the rule, such that the rule is enforced when the machine code is executed on the virtual machine ( 10 ).