Obama, Romney say China needs to play by the rules