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 , as you see it at tab "Tools"

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