He said that Americans ought to look at China as '' an economic opportunity , '' but that Beijing had to be pressed at times to abide by international trade rules and to take a role as a partner in efforts to deal with North Korea and battle terrorism .