Add more fine grained rule env execution.

Well, you had that LOCALHOST statically put in, so I didn't change that.

So you're saying I need to grab host from ProtocolMetadata?