On the definition of a self-sustaining chemical reaction system and its role in heredity