Added comments to the class
Initialisation of the Rule objects in the constructor
Added methods addRule and removeRule
Added comments to the class
Modified methods setWordList and getWordList
Nothing…