You are not transferring any data to the rule in the binding from the workflow container, so the rule result will always be empty. when you test the rule, you are actually filling the import binding manually.
Why is the context a multiline container element? rules should usually work with a single expression (import context xxxx -> result user 1)
And what do you want to do with the agents of the rule in the workflow container (the binding back)?