open(FILEREADWRITE, "../Rules1.txt") || die "Could not open Rules1.txt - $!\n";