Diagonal rule+oneQueenPerRow rule