Moved attribute methods from JsRunner

The attributes methods couple Rules implementations to
the JsRunner and some of them no longer live in JS.
For this reason they were moved to a new helper class.
Removed unused JsRunner from PoolRules