Hi @goran_nilssonK2TWB. If both the rule and the form are internal, then I am not sure why you may be needing to enter two different things, then click the Apply button before clicking the rule button. But, I may still be able to help with some of that. @CCarreiras already showed how to change which buttons are available at the bottom of the main form, but this tip should help avoid at least one or two of those extra clicks. While editing that form and the form editor is open, select the iLogic rule button line item in the upper right list, then look down below that at its properties. There should be an area of the properties named "Behavior" which may need to be expanded down, then within that area is a property named "On Click Action". You can use the drop-down control beside its Value area to choose a different action sequence that you want it to do when clicked. I generally always recommend one of the last two, depending on the situation ("Apply and then Run Rule" or "Apply and then Close and then Run Rule").
Apply 'sends' any changes made in the form to the document. Close means close the form.
If making those changes still does not solve your problem, then you may need to explain this situation in a lot more detail, such as what all is going on when you start that form, what those entries in the form represent, what your expectations are about what should happen while the form is open, and what the rule is supposed to do.
Wesley Crihfield
(Not an Autodesk Employee)