The term
ruling class refers to the
social class of a given society that decides upon and sets that society's political policy - assuming there is one such particular class in the given society. There may not be.
Sometimes there is a ruling class in a particular sector of the upper class that adheres to quite specific circumstances it has both the most material wealth and the most widespread influence over all the other classes, and it chooses to actively exercise that power to shape the direction of a locality, a country, and/or the world. Most of the upper class does not fit the fundamentals of this description, but some do.
Most stable groups of social animals (including humans) have a visible and invisible "ruling class". The decision makers in the group may change according to the decision-type and/ or the time of observation. For example, it used to be assumed that modern societies were patriarchal and the elders dominated the real decisions, even though many market economies focus on the decisionmakers of each particular (assuredly minor) market sector, who may in fact be children or women.
The sociologist C. Wright Mills argued that the ruling class differs from the power elite. The latter simply refers to the small group of people with the most political power. Many of them are politicians, hired political managers, and military leaders.