Creating rule set

Creating the rules as a class