load rule config and typedefs, test output rule json