Logic of the rule, still missing the file path