NEW YORK (TheStreet) -- The future looks bright for health care stocks, according to one investment manager.

"Health care is no longer a defensive sector, it's actually a growth sector," said Mary Ann Bartels, chief investment officer of portfolio solutions at Merrill Lynch Wealth Management. "We have 10,000 baby boomers turning 65 who will need health care going into retirement."

On Thursday, the Supreme Court ruled in favor of the Affordable Care Act, also known as Obamacare, saying that federal subsidies within the law do not violate laws.

"The (ruling) is another positive point for the health care sector," Bartel added.

Shares of hospital operators Community Health Systems (CYH), HCA Holdings (HCA) and Tenet Healthcare (THC) surged on the ruling.

"There has been some suggestions that the hospitals would get hurt by this because the hospitals need more volumes,'" said TheStreet's Jim Cramer, portfolio manager of the Actions Alert Plus portfolio. "Now that this is out of the way, HCA and Tenet can go higher. These not expensive stocks, and they are still the ones you want to be in."

The rally wasn't limited to hospitals. Health insurers such as Aetna (AET) and UnitedHealth Group (UNH) also gained on the news.

Health care stocks in the S&P 500 have risen 10.5% since the start of the year.

Meanwhile, Bartels is bullish on the consumer spending, and economic data released backed up Bartels' opinion. Consumer spending rose 0.9% in May, according to the Bureau of Economic Analysis. That's the largest gain in six years.

"As for the consumer-discretionary sector, it is an expensive one, but there are pockets that we like such as media and autos," she said. "Plus, we think baby boomers are going to do a lot of travel, and many of the travel and leisure stocks fall in the consumer- discretionary sector."

More from Investing

Replay: Jim Cramer on the Markets, Oil, General Electric, Zillow and Micron

Replay: Jim Cramer on the Markets, Oil, General Electric, Zillow and Micron

Pegasystems Founder Explains Why He Has One of the Hottest Tech Stocks Around

Pegasystems Founder Explains Why He Has One of the Hottest Tech Stocks Around

Adobe Isn't Just Going After Shopify With Its Latest Acquisition

Adobe Isn't Just Going After Shopify With Its Latest Acquisition

Experts Break Down GDPR Risks for Investors

Experts Break Down GDPR Risks for Investors

Bitcoin Today: Prices Slip as Broader Crypto Market Struggles to Make Traction

Bitcoin Today: Prices Slip as Broader Crypto Market Struggles to Make Traction