Thank you for your comments.
About your comment on the $fis->addRule, I am not sure if I understood it. Could you, please, rephrase it? Anyway, to give you a better description of the $fis->addRule: each line in the addRule represents a hash's element with the 'quality=bad & speed=slow' being a “key” of the hash (guaranteeing uniqueness of the antecedents) and the 'award=minimum' being the “value” for the key.
About your comment on the output of the script, I just added a description just before the code.
In reply to Re^2: RFC: A Beginners Guide to Fuzzy Rules-Based Systems