JERUSALEM — A Jerusalem court on Thursday upheld a ruling that five women who had been detained at the Western Wall for wearing prayer shawls traditionally used by men and singing were not disturbing the public order, rejecting an appeal by the police. The decision, by the Jerusalem District Court, upheld a ruling last Thursdayby a magistrates' court. The women, activists withWomen of the Wall, a feminist and pluralist religious group, have been challenging the enforcement of strict Orthodox codes at the holy site. Lawyers for the group said Thursday's ruling undermined the basis for future detentions and arrests. There was no immediate response from the police. Israeli officials are examining a proposal to create a new prayer area for more egalitarian worship after tensions over rituals at the site caused discord between the Israeli authorities and Jewish leaders abroad.