func (r *Rule) GetColor() string {
	if r == nil || r.Color == nil {
		return ""
	}
	return *r.Color
}
func (r *Rule) GetColor() string {
	if r == nil || r.Color == nil {
		return ""
	}
	return *r.Color
}
func ( r * Rule ) GetColor ( ) string { if r == nil || r . Color == nil { return " " } return * r . Color }
// GetColor returns the Color field if non-nil, zero value otherwise.
GetColor returns the Color field if non - nil zero value otherwise .