The repetition rule is a modern contamination by Xiangqi. In the historic rules repetition was forbidden, but it is likely that perpetual checking was forbidden even more: some of the historic mating problems would have fast parasitic solutions if you could force a win by perpetual checking. It is also not clear whether repetition of positions was strictly forbidden, or making the same move from an earlier occurring position was.
The baring rule is also a modern invention; there is no historic evidence that it existed in the Edo period.
The repetition rule is a modern contamination by Xiangqi. In the historic rules repetition was forbidden, but it is likely that perpetual checking was forbidden even more: some of the historic mating problems would have fast parasitic solutions if you could force a win by perpetual checking. It is also not clear whether repetition of positions was strictly forbidden, or making the same move from an earlier occurring position was.
The baring rule is also a modern invention; there is no historic evidence that it existed in the Edo period.