add input photo rules file