Alternative way to get rules information from flex

This patch describes an alternative way to get rules / debug information from flex files