present there is only one rule-set.
$YAZ_LOG => "irspy,irspy_test"
</%args>
<%perl>
+my @rulesFiles = ("dallas.rules");
+
my $allTargets = (@id == 1 && $id[0] eq "");
if ($allTargets && !$really) {
</%perl>
admin => "fruitbat");
$spy->log_init_level($YAZ_LOG);
$spy->targets(@id) if !$allTargets;
+foreach my $rulesFile (@rulesFiles) {
+ $spy->apply_rules($ENV{DOCUMENT_ROOT} . "/../../etc/" . $rulesFile);
+ print "applied rules '$rulesFile'\n";
+}
$spy->initialise($test);
my $res = $spy->check();
print "<p>\n";