Support const TrackEntry in OpenTrack().
Restore accidentally-removed forward decl.
Move per-session bits from Rulebook into Rules.