Updated PatternSyntax.py
Updates on PatternSyntax.py