The new rules would allow Defense Secretary James Mattis to retain troops who had been serving openly