The data flow $ syntax represents dynamic pattern values.
$$ can be thought of as equivalent to "this" in other programming languages and is used in pattern matching to represent current row value.
$0 and $# are new constructs we just recently added to the data flow grammar. The docs should land next week.
You will be able to use $0 to represent current dynamic column names in column patterns. $# refers to the current column position.