Add rule of selecting test cases to run