Regulation stated that officers in combat situations should wear no insignia of rank on their uniforms at all. Staff personnel who were visiting forward positions were instructed to cover or remove officer insignia. Of course, the Germans learned to look at any group and pick out the youngest looking guy who was cleaner than the rest, and shoot him. I'm sure it worked out OK most of the time.