Defining the rules