Get a closet flange extesion kit from home depot. One extesion ring will probably get you flush with the tile. Go ahead ad replace the rusted screws with stainless steel or galvanized screws. Finally when your ready to set the toilet use a wax ring with out the funnel. The funnel will reduce the opening and created clogs.