Check the project type (C#). The rename action is currently only valid on this types. Some refactorings.