1. A method comprising: providing a plurality of code components, wherein each code component comprises a conditional expression having a policy abstraction and a corresponding action that will be performed when the conditional expression is satisfied; providing a plurality of devices having device profiles; inspecting contents of the plurality of code components; based on a result of the inspection of the contents of the code components and the device profiles, determining which of the devices to associate a code component with; using at least one processor, determining a first code component is relevant to a first device; altering the first code component obtain a modified first code component; and transferring the modified first code component, and not the first code component, to the first device, wherein the transferring the modified first code component to the first specific target comprises transferring less data than would transferring the first code component.