How to get the snaredrum to get rolls and the hi-hat foot not

How do I get the rolls (tremoloes) not on the hihat, but still on the snaredrum?

Put the hi-hat and the snare in different voices. That may mean adding an additional version of the snare (or hi-hat) attached to an opposite stem direction.