merge rsi and xmlkrc