Rule of law isn’t a binary. It is an ideal that a country aspires to to whatever degree.
Thing is, the current Chinese government sees “rule of law” completely undesirable as a concept, judiciary must acquiesce to the official class (which is synonymous with the party), whose opinion is the only one that matters.