Additional methods

Hello, I am adding two new rule methods. If you can integrate them, that would be nice.