Description: Extend the definition of a class to include maps-to notation for defining a function via a rule.