There are cases where teachers marry their students but the most healthy marriages are ones that were created during college or grad-school, so it's more like the student is mid 20's while the teacher is early 30's. And, no, no rules against marrying your student when they are an adult, she would need to be, I believe, 20 first.