Pass the module context to getPcapRule() as well

The point of this context is being able to configure stuff after all.
Maybe one of the configurations has something to do with the pcap rule.

Signed-off-by: Toon Schoenmakers <nighteyes1993@gmail.com>