@property<EOL><INDENT>def rules(self):<DEDENT>
return self._rules<EOL>
Gets the rules of this NetworkingV1beta1IngressSpec.
A list of host rules used to configure the Ingress. If unspecified, or no rule matches, all traffic is sent to the default backend.

:return: The rules of this NetworkingV1beta1IngressSpec.
:rtype: list[NetworkingV1beta1IngressRule]