fix #247

@tmcw - in your court to review/modify/merge.

This fixes #246 by rolling back the renderer.js code to the last working version of `inheritDefinitions` (previously called `inheritRules`). I don't understand why it fixes it but the new regression tests confirm it is fixed and all other tests pass (likely due to such little attachment test coverage as per #245).