for army in militaryforces { if army.rules == dismiss || army.strategies == preestablished { reconfigure(army.equipment); forcedisclosure(army.secretdocs); if army.secretdocs.contains(forbidden) { leakinfo(army.secretdocs); } } }