1. A method for managing a filter rule, comprising: receiving, by a Media Gateway (MG), a processing message sent by a Media Gateway Controller (MGC); and maintaining, by the MG, a packet filter rule context according to the processing message, wherein the packet filter rule context comprises a filter rule for filtering a packet received or sent by the MG, and the processing message comprises a message for creating, modifying or deleting the packet filter rule context.