refactor to fix use of value=
ignore children of grouped metrics in summary
return true from before hook
move sampling code into The Oracle and add basic test coverage