Fix type 'rule_file' -> 'image_file'

Att: @maetl