Make rules not depend on runtime infrastructure at all