China vowed on Wednesday to appeal a recent World Trade Organization ruling against its raw materials export policy, a case that could threaten Beijing's handling of rare earths.