Added the intention to write something that looks like a rule engine.