1. A network device comprising: a first memory to store packets received at the network device; a controller to transfer the packets to the first memory via a first bus; a processor including a plurality of processing units and a second memory to store a first plurality of rules; and a third memory to store a second plurality of rules, where the processor is to: retrieve a first one of the packets from the first memory via the first bus or a second bus, inspect the first packet to identify a set of rules associated with the first packet, match ones of the identified set of rules to ones of the first plurality of rules, and match at least one other one of the identified set of rules to at least one of the second plurality of rules, and where at least one of the processing units processes the first packet using the matched ones of the identified set of rules and the matched at least one other one of the identified set of rules.