using the same given in number 4, how will you write it in rule method?​