Immigrant entrepreneurs and workers in the U.S. on H-1B visas have received good and bad news. The government is moving ahead with the International Entrepreneur Rule program but it’s also cracking down on rules that had permitted spouses of H-1B visa recipients to also work.

The U.S. Citizenship and Immigration Services announced Friday that it would begin accepting applications for the International Entrepreneur Rule (IER) after a loss in federal court in a case brought by the National Venture Capital Association. The NVCA said that the Department of Homeland Security violated requirements for public comment before the decision to not implement the program was made.

However, the DHS is still proceeding with plans to stop the program, according to the NVCA.

“At long last, the International Entrepreneur Rule is now taking effect, providing a pathway for foreign-born entrepreneurs to come to the U.S. to build their companies and make strong contributions to the U.S. economy,” said NCVA Chief Executive Officer Bobby Franklin.

“Foreign-born entrepreneurs are critical to maintaining a strong and growing U.S. entrepreneurial ecosystem and we were proud to step up and represent their interests in fighting for implementation of IER,” said Bobby Franklin, President and CEO of NVCA.  “Knowing of the significant contributions foreign-born entrepreneurs bring to innovation and economic activity, NVCA has long championed the concept underpinning the International Entrepreneur Rule and was active during conceptualization of the program.  While this marks a significant achievement in NVCA’s ongoing efforts to attract and retain the best and brightest entrepreneurs from around the world, more work remains.  DHS has already announced that it intends to proceed with a new rulemaking to discontinue the International Entrepreneur Rule and NVCA will continue to fight for it.”

H-1B visa decision 

In the other news, the Trump administration plans to make it illegal for the spouses of thousands of immigrant workers to get jobs in the U.S.

Since 2015, the spouses of H-1B visa holders waiting for green cards have been eligible to work in the U.S. on H-4 dependent visas, thanks to a rule introduced by President Obama. Many H-1B visa holders are highly skilled, working in the tech sector.

But in a statement Thursday, the Department of Homeland Security said it intends to do away with that rule.

The department didn’t explain its reasons, saying only it was acting “in light of” the “Buy American, Hire American” executive order that President Trump signed in April.

That order called for the H-1B visa program for skilled workers to be reviewed with the aim of reforming it.

As well as dropping the rule allowing spouses to work, the Department of Homeland Security statement mentioned plans for other changes to the H-1B visa program. They include revising the definition of what occupations are eligible for the program “to increase focus on truly obtaining the best and brightest foreign nationals.”

The Obama-era rule allowing spouses to work already faces a legal challenge. A group called Save Jobs USA filed a lawsuit in April 2015 arguing that it threatens American jobs.

It has continued to press the case following Trump’s election, and Attorney General Jeff Sessions has said in the past that the H-4 rule “hurts American workers.”

The Trump administration’s plans to overhaul the H-1B program has caused particular alarm in India, which accounts for 70% of all H-1B workers.

The H-1B is a common visa route for highly skilled foreigners to find work at companies in the U.S. It’s valid for three years, and can be renewed for another three years.

It’s a program that’s particularly popular in the tech community, with many talented engineers vying for one of the program’s 85,000 visas each year.

In October, the government said it was toughening up the process for renewing the visa. The U.S. Citizenship and Immigration Services instructed its officers to review requests for renewal as thoroughly as they would initial visa applications.