parser rules for bootstrap toggle