Lightweight business rule engine