better parameter handling in rules
typo