Implement RETE algo for decision making and provide it as a separate api, leaving the original flow as it is.