Human rights groups criticized the law , saying it could silence the president 's critics .