fixed number detectiona and added text inlined rules