A New Algorithm for the Automatic Generation of Fuzzy Rules