1. A method for modifying intercepted data, the method comprising: receiving, at a security application executing in a security data processing system from an intercepting agent executing in an intercepting data processing system, an intercepted packet of data arranged according to a protocol; applying, by the security data processing system, a security policy to the intercepted packet to determine whether data of the intercepted packet is non-compliant with a set of security policies; receiving, by the security data processing system, an indication of a network condition and a plurality of coding grammars, the indication of the network condition including a network traffic throughput metric; selecting, by the security data processing system, a selected coding grammar from the plurality of coding grammars based, at least in part, upon the network traffic throughput metric, wherein the selected coding grammar comprises a representation of a combination of an operation and a data fragment, the combination being positioned at a position in the intercepted packet; responsive to a determination that data of the intercepted packet is non-compliant with the set of security policies, generating using a processor and a memory by the security data processing system and according to the selected coding grammar, an instruction designed to cause a modification of the intercepted packet to make a revised packet that is compliant with the set of security policies; and sending the instruction from the security data processing system to the intercepting agent.