Updated factories for to be able to set up dates easier.
Fixed and improved factories.

Added correct defaults for RuleFactory.
Cleaned up the code.
Corrected +/- error.
Updated models and tests.

Added get_occurrences methods and tests for them.
Additional updates and forgotten field.
Added now function and updated factories.

The custom now function zeroes microseconds, since they caused issues.