Michael Loccisano/Getty Images
File: Singer Chris Brown visits BET's "106 & Park" at BET Studios on April 1, 2013 in New York City.
Chris Brown is going back to rehab, this time with new rules from a judge.
Los Angeles Superior Court Judge James R. Brandlin has ordered Brown to serve three months in a residential treatment facility and to submit to drug testing. The judge Wednesday also ordered the R&B singer to perform at least 24 hours of community labor per week.
Brown's attorney, Mark Geragos, says the terms were recommended by probation officers, and the singer agrees to abide by them.
The 24-year-old may still face a probation violation due to his arrest last month on a misdemeanor assault charge in Washington, D.C., but Brandlin and a prosecutor want more details.
Brown is due back in court Dec. 16 for another hearing. He remains on probation for his 2009 attack on then-girlfriend Rihanna.
Wednesday's hearing is the first time Brown has been in court since he was arrested last month in Washington, D.C. A 20-year-old man accused Brown of punching him after he tried to get in a photo with the R&B singer.
Brown denied to police that he hit the man but was charged with misdemeanor assault.
Since then, the Grammy-winner has entered and left rehab for anger management treatment.
Brown's probation for assaulting Rihanna was briefly revoked this summer after a hit-and-run incident. He was also ordered to redo 1,000 hours of community service because there were questions about whether he actually completed his initial penalty.