find rules can be combined with group declarations to build finite state machines:
find
group
next group is