I would like to make a videogame on doomtrooper cards game.

the problem are the rules controls.
In this game there are obiously rules, no problem to make that; but a single card may ignore normal rules and make strange effect (this is legal).
What do you advice for the implementation of rules?
Note that the cards can be over 1000...

thanks

PS: sorry for my bad english :|