Multistate modelling extended by behavioural rules: An application to migration · Study