Honest interview question

Design a rule engine to process user applications.