modify rules into model sharing