1. A device-implemented method comprising: constructing an agent in a first execution environment that utilizes a rule set, the first execution environment being embodied on a device, the constructing being performed by at least: requesting the rule set for the agent; supplying the agent with the rule set; and requesting compilation of the rule set.