An easy way to make a rule based engine