add ignore file and rule