If rfs inflicts battle damage through a direct attack using right back at you then it the effect of rfs would kick in and give it a 1000 boost however it would still lose 500 due to the effect of tryce therefore if you successfully inflict direct damage its atk will go from 0 to 1500(right back at you merely serves as a temp booster so you can inflict damage)
Resetting its ATK after it was removed from play is not a glitch, and this should be very obvious. Although its ATK being reset after being affected by something that would reduce its ATK is a glitch though.
Actually I just tried your deck out and it works way better if you replace the other monsters with Chrystal seers for more drawing power . It's actually better than my deck. Just replace the cocoon and the other machine monster with seers . Also nobleman spell is unnecessary get rid off that