pub fn parse_card_script(script: &str) -> Result<CardRules, String>
Convenience: parse a card from a single string (lines separated by newlines).