Need to fetch the default name of an activity in C# code

I am trying to build a custom rule which needs to fetch the default name of the activity.
Any help is highly appreciated.
Thanks in advance!