code: func (p *Policy) Apply(path *Path, options *PolicyOptions) (RouteType, *Path) {
  	for _, stmt := range p.Statements {
  		var result RouteType
  		result, path = stmt.Apply(path, options)
  		if result != ROUTE_TYPE_NONE {
  			return result, path
  		}
  	}
  	return ROUTE_TYPE_NONE, path
  }
docs: // Compare path with a policy's condition in stored order in the policy.
  // If a condition match, then this function stops evaluation and
  // subsequent conditions are skipped.