add_rule


Description:

public void add_rule (string name, string match, string action)

Adds a new rule to set of rules to process by the filter driver.

Parameters:

this

a FilterDriver

name

name of the rule

match

a code (SExp) to execute to check whether the rule can be applied

action

an action code (SExp) to execute, when the match evaluates to true