In the Training there was no leading `[` When I search for other xpath like from this link "https://docs.mendix.com/howto6/define-access-rules-using-xpath" I saw that it has to have a leading "[" so I added it and it fixed.
I hope that this can help people in the future