Updated to pull data from within a rule
same as previous commit