fixes issue #333.
Installed the patch from Philip.
It patches up the symptom.
The original issue is that the serializer picks up the "wrong" rule.
It has to do with how we process the source/path/sink keywords since we
have only a single class FlowImplementation for the 3 subtypes.