1. A computer-implemented method for executing an event processing application in a multi-platform environment, wherein the multi-platform environment comprising a first computing platform and a second computing platform, wherein the event processing application comprising a network of a plurality of processing rules, wherein each processing rule, when executed by a computing platform, is configured to process incoming events and output outgoing events; wherein said method comprising: automatically identifying one or more processing rules comprised by the event processing application that are restricted to be executed in the first computing platform, wherein said automatically identifying comprises: analyzing each rule in the plurality of processing rules to determine whether the rule is configured to perform a restricted activity, said automatically identifying comprises refactoring a processing rule that comprises one or more restricted activities, into a chain of processing rules, wherein the chain of processing rules comprises one or more purely restricted rules and one or more non-restricted rules, wherein a purely restricted rule is a rule consisting of at least one restricted activity, wherein a non-restricted rule is a rule not comprising any restricted activity; and executing the plurality of processing rules in the multi-platform environment, wherein the one or more processing rules are executed in the first computing platform, wherein the one or more processing rules that are executed in the first computing platform comprise each purely restricted rule, and at least one processing rule of the event processing application is executed in the second computing platform.