Ruling in a lawsuit brought by the Roman Catholic Diocese of Brooklyn, U.S. District Court Judge Nicholas Garaufis said in an order Friday that even though the rules harm religious groups, it is not in the public interest to block them if they are helping prevent a wave of new infections.