my school home work are about rule facts in and out then they want the rule number I do not understand
Go ask your teacher.
This is a Simple Dialog Demo.