Bind cache entry class to a rule
Extract class definition of Rule
Export "Rule" correctly
Extract cache entry class to a file
Make readonly attributes to boolean methods