The objective of putting $ symbol before the variables is to ensure the difference between variables of POJO classes and Rules.