SPFormRules with promises

- Rules with promises
- Minor improvements
- Bug fixes