- Moved the code that turns rule flags into chars into a new