Rule encoding in dorsal striatum impacts action selection