If the spell mastery ability applies, you’ll create a copy of the instant or sorcery spell only if Psychic Rebuttal counters that spell. If that spell can’t be countered by spells or abilities, you won’t get a copy.