I have seen stated that for unflavoured quarks, the relation between baryon number, electric charge and third component of isospin can be written as $Q= B/2 + I_3$. However, I have also seen this relation being used for rho mesons. My question then is, in which cases is this relation true? When is it not?
I can already see that for the pions, the rho mesons and the nucleons it holds true. However, it won't hold true for example for flavoured hadrons. Is this the only rule to it? Is there a way to complete it so as to make it more general?