1. A non-transitory machine-readable storage medium encoded with instructions for execution by a network node, the medium comprising: instructions for establishing context objects in memory in response to receiving a message, wherein the context objects have respective context object types based on respective pre-stored context artifacts that define the respective context object types and the respective pre-stored context artifacts include computer code defining at least one new function, respectively; and instructions for processing the received message comprising: instructions for evaluating a plurality of rules to identify an applicable rule of the plurality of rules, instructions for performing at least one action specified by the applicable rule, and instructions for executing computer code placed in memory from the pre-stored context artifact that defines the context object type of the established context object, wherein the instructions for executing computer code are configured to be executed as part of at least one of the instructions for evaluating a plurality of rules and the instructions for performing at least one action specified by the applicable rule.