Library for decision making based on fuzzy rules