I have seen it in the site of the Indian contest.
why have not I thought about before?
it is the contrary of the mirror
the cells rotated of 180 degrees must be different
i.e. r2c2 must be different from r8c8
the program was practically already done