For #5, if the ship or ground formation is involved in the battle, they get the medal.
Being involved in the battle and killing an enemy unit is different. The only condition that would award a medal in combat is either to destroy an enemy, destroy missiles, or suffer damage. Unless I'm missing out on something?
Let me give an example.
Combat Saber Medal - Awarded for being a combat zone. (there's no condition for this)
Combat Sword Medal - Awarded for being "in" combat (again if you are in a ship that took part in a battle and say didn't do much damage or suffer any damage but you still took part in battle this would be awarded. Again there's no condition for this)
Hence why I said condition 5 would be harder to add as a condition.
Edit - Now that I said this, doesn't the game track when a hostile ship is detected in the system? Can this be added as a condition?
You can see an example of one of my R7 Officers in the picture attachment.
Of all the medals he received, if I didn't manually award them, he would only have 2 medals, the 10 years and 20 years service medals.
For a Rear Admiral position officer don't you think that's kinda sad?