In looking up this subject I found in the O.R. the regulations the Union forces were using, initiated by the U. S. Sec. of War in 1862...word for word from the Mexican War Regulations, I would think the Confederates used the same book. I can point you to it if you like.
David