Move the setup code for each rule to their respective files.