Thanks for suggestions above, I will write a rule soon.