I'm wanting to do is some lightly dynamic rules processing; an engine receives a widget, examines its properties, scans its ruleset and changes widget properties according to the logic in the rule statement. Does this sound like an inference engine?

Does anyone have experience with, suggested reading, or other tidbits to share about such things in PHP?