Custom rules method can be either camel or snake case

Signed-off-by: Fadion Dashi <jonidashi@gmail.com>