Finally got the rules DnD working