offcourse there was a foreign body in your eye. since you have rubbed your eyes, hence you must consult an ophthalmologist nearby. it might have caused corneal ulcer.
Disclaimer : The content is not intended to be a substitute for professional medical advice, diagnosis, or treatment. Always seek the advice of your physician or other qualified health provider with any questions you may have regarding your medical condition. Never disregard professional medical advice or delay in seeking it because of something you have read on this website.