Set properties in rules instead