Could be both. Some things determined by some mathematical constraints will always be followed. Ex things like group theory and statistics will always be followed by any object subject to them, but how that manifests if the objects those rules act upon changes in form