Fuzzy rule-based systems derived from similarity