What's the best way to separate logic from data, when some of the data *is* logic?

[deleted]