Hi, I think you use the best way to do that, for your rules problem, can you tried to set another value anywhere, and check if the problem persist?
I think that your user is on the textbox when they Alt +i, so the field is currently blank for infopath because, you have to click elsewhere to apply your modification.