This disclosure relates to methods and systems for monitoring network
usage according to predetermined rules and calculating user charges based
on the network usage. The described technique includes receiving a data
packet, extracting parameters from the data packet and determining
whether the extracted parameters match at least one rule in a rules
engine. Charges for the data packet are calculated based on the matched
rules. The data packet is forwarded on to its destination.