The iRule takes precedence over the virtual server and/or pool configuration. If the iRule doesn’t change the pool or persistence method, then the VIP’s persistence setting would still be used.
If a request is made with a persistence record pointing to a pool member that has been marked down by a monitor the request will be re-load balanced according to the load balancing algorithm of the pool. If the node has been disabled, but the pool member still responds to monitor requests requests with a valid persistence record pointing to that pool member will continue to be sent to the pool member.
If you set the node to forced offline, only active TCP connections will continue to be allowed.
I don’t think a persistence record will be invalidated if the pool member responds to a monitor within the timeout but doesn’t respond to a client request.