Updated Version for rule upadate