I was recently told you may not move a piece out of the way of a second piece to allow the second piece to put the other player in check. For example, I have my queen and rook lined up on a diagonal with my opponent's king. I move my rook, opening the path for my queen to their king putting it in check. According to my opponent you aren't allowed to do this. You have to actively move the queen into a check position.
Is this a standard this rule?