change ruleElementOption back to elementOption