adding @rsversion to ruleset and using this for refreshing cache and adding an ANT buildfile