Compressed rules file a bit
added rules and formatted the input file
All the tokens are in place