This is only being called once doing it this way.

This class should inherit from rule_entity_base and every time the entity is needed, use the function from that class to set an instance up.