The Structure of Energy and the Rules of the Universe