How to add more rules

At the tab “Tools” you can see a rule`s JSON structure.

For importing them, call WDP_Importer::import_rules($data, $reset).

$data is the decoded JSON.

$reset is the flag which determines whether to delete the rules before import or not.