What mainly differentiates ḥadd and rasm?

Definitions in Logic: Complete and Incomplete Ḥadd and Rasm