rule input