Method rule example.