S. Th. I-II, q. 54 and 56, a. 2.
573. There are several rules according to which habits are distinguished in species (a. 2):
1°a) As forms are distinguished by reason of the cause: Habits are specifically distinguished whose proper and of themselves causes are diverse, for every agent produces something like itself according to species. Thus habits which are acquired by diverse acts are distinguished; likewise acquired habits which we acquire by our acts, and infused of themselves which God alone can give us.
2°a) As habits are distinguished by reason of nature: Habits are specifically distinguished which signify a diverse order to nature (and consequently to the end), as good and evil habits, or which signify order to a diverse nature, as ordinary human virtue and divine or heroic virtue which is fitting to a higher nature.
3°a) As operative habits are distinguished by reason of the object: Habits are specifically distinguished which have diverse formal objects: for habits are dispositions to acts; if therefore acts are specifically distinguished according to objects, so also habits. — This is the chief rule, because it indicates the ultimate species.
The three aforesaid rules are fundamental; from the last however follows a derived rule, namely:
4°a) That habits are consequently distinguished by reason of the subject: Habits are specifically distinguished which are in diverse potencies principally operating. For the potencies themselves are distinguished by generically distinct objects. Whence where the potencies are diverse, also the objects are diverse1.
574. Corollaries. — 1°o. From the third rule it follows that habits of diverse species can be in one and the same potency, because a potency can be ordered to diverse objects.
2°o. The fourth rule of specific distinction by reason of the subject or potency is to be understood of potencies which principally operate. For those which operate secondarily, serving the principal act or disposing to it, adhere to the object of the principal operation, and therefore the secondary habits which are in them take their species from this object: thus the operation of art in the hand takes its species from the object of the art which is in the intellect.
3°o. Hence one habit or one virtue cannot be equally and according to essence in several potencies; it can however pertain to several potencies in a certain order, so that it is principally in one, and extends itself secondarily to others: whether by way of diffusion according as one potency moves another which serves it, e.g. justice commands the passions or temperance; or by way of disposition according as one receives from another, e.g. prudence rectifying the choice of means supposes the rectitude of the appetite, about the end (q. 66, a. 2).