partial undo of last commit in FootFlagEncoder, which added footway to
the restrictions.