Fixing the print rules from sintatic analyser