add rule index to prec preds for better tracing info. can get back original alt, for example.
add utility method
Merge branch 'atn-profiler' into 4.2.3-dev