tag rulename on file