Is Wii guitar hero guitar compatible with Wii rock band?

If you're talking about hardware, yes. Guitar hero guitar controllers will work on rock band games and vice versa. Although in most instances the neck slider will do nothing.