add integration test for shared rules
first draft for shared field definition help