write and read state files
rule was triggered
rule was triggered
pedantic fixes ...