A General Theory of Reactivity