in his late maturity , tua chen had devised two books of rules , based on ruellian principles : one for the training of aristocratic administrators ( and occasionally an emperor ) , the other for the training of the empire 's hundreds of billions of bureaucrats , the greys .