add new  not_matches rule
add new  allowed_file_types rule and file required rule also