They had no system of dynastic rule, since they always needed the best man available as their chief. But the fitnah had shown the dangers of a disputed succession. It would be wrong to think of the Umayyads as "secular" rulers. Muawiyyah was a religious man and a devout Muslim, according to the prevailing notion of Islam. He was devoted to the sanctity of Jerusalem, the first Muslim qiblah and the home of so many of the great prophets of the past. He worked hard to maintain the unity of the ummah. His rule was based on the Quranic insistence that all Muslims were brothers and must not fight one another. He accorded the dhimmis religious freedom and personal rights on the basis of Quranic teaching. But the experience of the fitnah had convinced some Muslims, such as the Kharajites, that Islam should mean more than this, in both the public and the private domain.