Boss of the company can make their own rule as long not against the law ....
Their company not against married staff ...just not allow both of them working on same company only ...
But both are too talented to actually make any of them resign when they announced their marriage