Matteo,
there are some curios effects with your PawnTrap.zrf.
1) King may move into check if there are possibilities to capture a pawn.
Example: 1.d4 Nf6 2.e4 Nxe4 3.Kd2?! Nxf2
2) No defense against checks if there are possibilities to capture a pawn.
Example: 1.d4 e6 2.b3 Be7 3.f3 g5 4.Nh3 Bb4#
"Checkmate: Black wins!"
I assume this is not intended by you but a weakness of your zrf.