convert flowCore filter to a list
It convert the flowCore gate to a list whose structure can be understood by
underlying c++ data structure.
filter a flowCore gate. Currently supported gates are:
"rectangleGate", "polygonGate","ellipsoidGate" and "booleanFilter"