lib/AdobeMarketingCloud/OptionParser.php
public function getRule($flag)
    {
        try {
            $this->checkFlag($flag);
        } catch (Exception $e) {
            return null;
        }

        $ruleIndex = $this->_flags[$flag];

        return $this->_rules[$ruleIndex];
    }
public function getRule($flag)
    {
        try {
            $this->checkFlag($flag);
        } catch (Exception $e) {
            return null;
        }

        $ruleIndex = $this->_flags[$flag];

        return $this->_rules[$ruleIndex];
    }
Gets the rule associated with the given flag.

@return  array