fixed writing of appfilter rules and allowed nova keywords in the automation script