#rule-based-algorithm